Fixed editor layout
This commit is contained in:
parent
7eb8d4abf4
commit
df28889248
|
@ -13,7 +13,7 @@ export const Editor = () => {
|
||||||
const style = () => (store.error ? `display: none;` : store.markdown ? `white-space: pre-wrap;` : '')
|
const style = () => (store.error ? `display: none;` : store.markdown ? `white-space: pre-wrap;` : '')
|
||||||
return (
|
return (
|
||||||
<ProseMirror
|
<ProseMirror
|
||||||
className='editor'
|
className='editor col-md-6 shift-content'
|
||||||
style={style()}
|
style={style()}
|
||||||
editorView={store.editorView}
|
editorView={store.editorView}
|
||||||
text={store.text}
|
text={store.text}
|
||||||
|
|
|
@ -10,7 +10,7 @@ export type Styled = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Layout = (props: 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}
|
{props.children}
|
||||||
</div>)
|
</div>)
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ button:focus {
|
||||||
-webkit-font-variant-ligatures: none;
|
-webkit-font-variant-ligatures: none;
|
||||||
font-variant-ligatures: none;
|
font-variant-ligatures: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
margin: 1em 1em 1em 2em;
|
margin: 1em 1em 1em 0;
|
||||||
|
|
||||||
.dark & {
|
.dark & {
|
||||||
color: var(--background);
|
color: var(--background);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user