This commit is contained in:
1 parent
ced986113b
commit
f4275119ad
1 file changed
+9
-4
@@ -91,18 +91,15 @@
|
|||||||
boxShadow: '0 0 0 3px rgba(65, 155, 56, 0.08)'
|
boxShadow: '0 0 0 3px rgba(65, 155, 56, 0.08)'
|
||||||
},
|
},
|
||||||
'.cm-content': {
|
'.cm-content': {
|
||||||
minHeight: '400px',
|
|
||||||
padding: '12px 14px',
|
padding: '12px 14px',
|
||||||
lineHeight: '1.8'
|
lineHeight: '1.8'
|
||||||
},
|
},
|
||||||
'.cm-scroller': {
|
'.cm-scroller': {
|
||||||
overflow: 'auto',
|
overflow: 'auto'
|
||||||
minHeight: '400px'
|
|
||||||
},
|
},
|
||||||
'.cm-gutters': {
|
'.cm-gutters': {
|
||||||
backgroundColor: 'rgba(0, 0, 0, 0.03)',
|
backgroundColor: 'rgba(0, 0, 0, 0.03)',
|
||||||
color: 'rgba(0, 0, 0, 0.4)',
|
color: 'rgba(0, 0, 0, 0.4)',
|
||||||
minHeight: '400px',
|
|
||||||
borderRight: '1px solid rgba(0, 0, 0, 0.12)',
|
borderRight: '1px solid rgba(0, 0, 0, 0.12)',
|
||||||
borderTopLeftRadius: '0',
|
borderTopLeftRadius: '0',
|
||||||
borderBottomLeftRadius: '0'
|
borderBottomLeftRadius: '0'
|
||||||
@@ -377,6 +374,14 @@
|
|||||||
|
|
||||||
.editor-container {
|
.editor-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-height: 400px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-container :global(.cm-editor) {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-toolbar {
|
.md-toolbar {
|
||||||
|
|||||||
Reference in new issue
Block a user