Skip to content

Commit b91e72f

Browse files
fix: md editor style
1 parent 1cce644 commit b91e72f

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

‎ui/src/components/global/markdown-editor/MdEditorMagnify.vue‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,4 @@ async function submitEditorDialog() {
7474
</MkDialog>
7575
</template>
7676

77-
<style scoped lang="scss">
78-
/* 可编辑区域铺满输入区,让空白位置也能按点击位置落光标。 */
79-
.magnify-dialog-editor,
80-
.magnify-md-editor {
81-
:deep(.cm-content) {
82-
min-height: 100% !important;
83-
}
84-
}
85-
</style>
77+
<style scoped lang="scss"></style>

‎ui/src/components/global/markdown-editor/md-editor.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
margin-block: 0 !important;
1818
margin-inline: 11px !important;
1919
padding: 5px 0 !important;
20-
min-height: auto !important;
20+
min-height: 100% !important;
2121
}
2222
.cm-line {
2323
padding: 0 !important;

0 commit comments

Comments
 (0)