优化编辑器表情底部空白和table不显示线

This commit is contained in:
eoao
2025-06-25 19:30:07 +08:00
parent 6af78c21ea
commit 010e0451ab
6 changed files with 15 additions and 15 deletions

View File

@@ -107,8 +107,8 @@ function initEditor() {
cursor: pointer;
}
}
table, th, td {
border: none !important;
.mce-item-table:not([border]), .mce-item-table:not([border]) caption, .mce-item-table:not([border]) td, .mce-item-table:not([border]) th, .mce-item-table[border="0"], .mce-item-table[border="0"] caption, .mce-item-table[border="0"] td, .mce-item-table[border="0"] th, table[style*="border-width: 0px"], table[style*="border-width: 0px"] caption, table[style*="border-width: 0px"] td, table[style*="border-width: 0px"] th {
border: none;
}
a {
color: #409EFF !important;

View File

@@ -71,13 +71,6 @@ button, input, select, textarea {
}
}
.tox .tox-dialog__body-content {
max-height: min(850px, calc(100vh - 110px)) !important;
@media (max-width: 1024px) {
max-height: min(850px, calc(100% - 40px)) !important;
}
}
.tox .tox-dialog__body-content {
overflow: initial !important;
max-height: min(850px, calc(100vh - 110px)) !important;
@@ -87,7 +80,14 @@ button, input, select, textarea {
}
}
.tox-dialog__body-content {
height: auto !important;
flex-basis: auto !important;
}
.tox .tox-collection--grid .tox-collection__group {
max-height: 220px !important;
}
:root {
--el-color-primary: #1890ff;