refactor: 调整 Markdown 编辑器高度为自适应填充
continuous-integration/drone/push Build is passing

This commit is contained in:
seahi committed 2026-09-23 11:51:27 +08:00
1 parent 07e45a9ea2
commit 28a9e42923
1 file changed
+3 -2
@@ -91,15 +91,16 @@
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', minHeight: '100%',
padding: '12px 14px', padding: '12px 14px',
lineHeight: '1.8' lineHeight: '1.8'
}, },
'.cm-scroller': { '.cm-scroller': {
overflow: 'auto', overflow: 'auto',
minHeight: '400px' minHeight: '100%'
}, },
'.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)',