fix: 确保 Markdown 编辑器内容区和 gutter 具有最小高度以适配布局
continuous-integration/drone/push Build is passing

This commit is contained in:
seahi committed 2026-09-23 11:42:55 +08:00
1 parent f4275119ad
commit a41bfe2c70
1 file changed
+2
@@ -91,6 +91,7 @@
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: '100%',
padding: '12px 14px', padding: '12px 14px',
lineHeight: '1.8' lineHeight: '1.8'
}, },
@@ -98,6 +99,7 @@
overflow: 'auto' overflow: 'auto'
}, },
'.cm-gutters': { '.cm-gutters': {
minHeight: '100%',
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)',
borderRight: '1px solid rgba(0, 0, 0, 0.12)', borderRight: '1px solid rgba(0, 0, 0, 0.12)',