From b5724597a84df159acea56e7125ced6cce7f20aa Mon Sep 17 00:00:00 2001 From: teukkk Date: Tue, 24 Dec 2024 11:51:43 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=AF=8C=E6=96=87=E6=9C=AC=E7=BB=84?= =?UTF-8?q?=E4=BB=B6-=E6=A1=86=E9=80=89=E6=96=87=E6=9C=AC-=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E6=A0=8F=E9=81=AE=E6=8C=A1-=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1049749 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001049749 --- .../src/components/pure/ms-rich-text/MsRichText.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/pure/ms-rich-text/MsRichText.vue b/frontend/src/components/pure/ms-rich-text/MsRichText.vue index 6f33ae6949..267893e5c3 100644 --- a/frontend/src/components/pure/ms-rich-text/MsRichText.vue +++ b/frontend/src/components/pure/ms-rich-text/MsRichText.vue @@ -598,6 +598,7 @@ @apply relative overflow-hidden; :deep(.halo-rich-text-editor .ProseMirror) { padding: 16px !important; + padding-top: 30px !important; min-height: 130px; > p:first-child { margin-top: 0; @@ -631,18 +632,18 @@ div:first-of-type { .ms-scroll-bar(); } + & > div { + overflow: visible; + .bubble-menu button { + padding: 3px; + } + } } } :deep(.editor-content) { .ms-scroll-bar(); background: var(--color-text-fff); - & + div[data-tippy-root] { - transform: translate(60%) !important; - } - } - [data-tippy-root] { - inset: auto !important; } :deep(.tableWrapper) { .ms-scroll-bar();