Skip to content
Snippets Groups Projects
Commit ffefd766 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

fix surface width and notes boolean

parent 21347b9a
No related branches found
No related tags found
1 merge request!171Buttons
......@@ -112,6 +112,7 @@ const WaxSurfaceScroll = styled.div`
box-sizing: border-box;
padding: 0 2px 2px 2px;
height: 100%;
width: 100%;
${EditorElements};
`;
......@@ -195,7 +196,7 @@ const EditoriaLayout = ({ editor }) => {
} = useContext(WaxContext);
const notes = main && hasNotes(main);
const showNotes = notes && notes.length && notes.length > 0;
const showNotes = notes && !!notes.length && notes.length > 0;
return (
<ThemeProvider theme={cokoTheme}>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment