Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions ui/src/components/global/markdown-editor/MdEditorMagnify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,4 @@ async function submitEditorDialog() {
</MkDialog>
</template>

<style scoped lang="scss">
/* 可编辑区域铺满输入区,让空白位置也能按点击位置落光标。 */
.magnify-dialog-editor,
.magnify-md-editor {
:deep(.cm-content) {
min-height: 100% !important;
}
}
</style>
<style scoped lang="scss"></style>
2 changes: 1 addition & 1 deletion ui/src/components/global/markdown-editor/md-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
margin-block: 0 !important;
margin-inline: 11px !important;
padding: 5px 0 !important;
min-height: auto !important;
min-height: 100% !important;
}
.cm-line {
padding: 0 !important;
Expand Down
Loading