diff --git a/src/components/Editor/components/Sidebar.module.scss b/src/components/Editor/components/Sidebar.module.scss new file mode 100644 index 00000000..a626b942 --- /dev/null +++ b/src/components/Editor/components/Sidebar.module.scss @@ -0,0 +1,3 @@ +.withMargin { + margin-bottom: 10px; +} diff --git a/src/components/Editor/components/Sidebar.tsx b/src/components/Editor/components/Sidebar.tsx index a3b1b7e0..f7fb7415 100644 --- a/src/components/Editor/components/Sidebar.tsx +++ b/src/components/Editor/components/Sidebar.tsx @@ -7,6 +7,8 @@ import * as remote from '../remote' import { isEmpty } from '../prosemirror/helpers' import type { Styled } from './Layout' import '../styles/Sidebar.scss' +import { clsx } from 'clsx' +import styles from './Sidebar.module.scss' const Off = (props) => @@ -16,8 +18,9 @@ const Link = ( props: Styled & { withMargin?: boolean; disabled?: boolean; title?: string; className?: string } ) => (