style: 富文本组件-框选文本-工具栏遮挡-无法选中

--bug=1049749 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001049749
This commit is contained in:
teukkk 2024-12-24 11:51:43 +08:00 committed by 刘瑞斌
parent 954e3168fc
commit b5724597a8
1 changed files with 7 additions and 6 deletions

View File

@ -598,6 +598,7 @@
@apply relative overflow-hidden; @apply relative overflow-hidden;
:deep(.halo-rich-text-editor .ProseMirror) { :deep(.halo-rich-text-editor .ProseMirror) {
padding: 16px !important; padding: 16px !important;
padding-top: 30px !important;
min-height: 130px; min-height: 130px;
> p:first-child { > p:first-child {
margin-top: 0; margin-top: 0;
@ -631,18 +632,18 @@
div:first-of-type { div:first-of-type {
.ms-scroll-bar(); .ms-scroll-bar();
} }
& > div {
overflow: visible;
.bubble-menu button {
padding: 3px;
}
}
} }
} }
:deep(.editor-content) { :deep(.editor-content) {
.ms-scroll-bar(); .ms-scroll-bar();
background: var(--color-text-fff); background: var(--color-text-fff);
& + div[data-tippy-root] {
transform: translate(60%) !important;
}
}
[data-tippy-root] {
inset: auto !important;
} }
:deep(.tableWrapper) { :deep(.tableWrapper) {
.ms-scroll-bar(); .ms-scroll-bar();