Skip to content

Commit

Permalink
styles: fix no hiddne in mobile #18
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 1, 2023
1 parent 2e71bcc commit 25e3877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor/src/components/editor/advice/advice-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const AdviceView = ({ editor }: AdviceViewProps) => {
});
}, []);

return <section className='flex flex-col border w-96 h-screen border-slate-200 bg-gray-50 dark:bg-gray-400'
return <section className='flex flex-col border w-96 h-screen border-slate-200 bg-gray-50 dark:bg-gray-400 lg:flex md:hidden sm:hidden hidden'
ref={advicesSectionRef}>
{advices.length ? (advices.map(advice => (
<div
Expand Down
2 changes: 1 addition & 1 deletion editor/src/components/editor/live-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const LiveEditor = () => {
</div>}
</div>
</div>
{editor && <AdviceView editor={editor}/>}
{editor && <AdviceView editor={editor}/>}
</div>
}

Expand Down

0 comments on commit 25e3877

Please sign in to comment.