Fixed editor layout

This commit is contained in:
kvakazyambra 2022-10-20 19:56:26 +03:00
parent 7eb8d4abf4
commit df28889248
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ export const Editor = () => {
const style = () => (store.error ? `display: none;` : store.markdown ? `white-space: pre-wrap;` : '')
return (
<ProseMirror
className='editor'
className='editor col-md-6 shift-content'
style={style()}
editorView={store.editorView}
text={store.text}

View File

@ -10,7 +10,7 @@ export type Styled = {
}
export const Layout = (props: Styled) => {
return (<div onMouseEnter={props.onMouseEnter} class='layout' data-testid={props['data-testid']}>
return (<div onMouseEnter={props.onMouseEnter} class='layout container' data-testid={props['data-testid']}>
{props.children}
</div>)
}

View File

@ -69,7 +69,7 @@ button:focus {
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
outline: none;
margin: 1em 1em 1em 2em;
margin: 1em 1em 1em 0;
.dark & {
color: var(--background);