Skip to content

Commit

Permalink
styles: add support for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Nov 25, 2023
1 parent 944b2e4 commit cc9fca1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/editor/live-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const LiveEditor = () => {
</div>
</div>

{editor && <div className={'lg:visible md:invisible sm:invisible'}><Sidebar eidtor={editor}/></div>}
{editor && <div className={'lg:visible md:invisible sm:invisible invisible'}><Sidebar eidtor={editor}/></div>}
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/editor/menu-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { MenuAiDropdown } from './intelli/menu/menu-ai-dropdown'
export const MenuBar = ({ editor }: { editor: Editor }) => {
return (
<ToggleGroup.Root
className={'ToggleGroup'}
className={'ToggleGroup lg:visible md:visible sm:invisible invisible'}
type="single"
defaultValue="center"
aria-label="Text alignment"
Expand Down
2 changes: 0 additions & 2 deletions styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
align-items: center;
justify-content: center;
flex-wrap: wrap;

max-width: 800px;
margin-top: 3rem;
}

Expand Down
4 changes: 2 additions & 2 deletions styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ input {
padding: 1rem;
flex-basis: 45%;
border: 1px solid #0070f3;
width: 800px;
max-width: 800px;
height: 100%;
min-height: 80vh;
}
Expand Down Expand Up @@ -760,7 +760,7 @@ input {
}

.domain-buttons {
width: 800px;
max-width: 800px;
margin: 1rem auto;
display: flex;
flex-wrap: wrap;
Expand Down

0 comments on commit cc9fca1

Please sign in to comment.