From 27b32ae846a0d1b2c3b675531037a060c893b521 Mon Sep 17 00:00:00 2001 From: fofolee Date: Sat, 21 Dec 2024 23:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=BB=9A=E5=8A=A8=E6=9D=A1=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/popup/EditorHistory.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/components/popup/EditorHistory.vue b/src/components/popup/EditorHistory.vue index 5606a96..0cc746c 100644 --- a/src/components/popup/EditorHistory.vue +++ b/src/components/popup/EditorHistory.vue @@ -387,6 +387,9 @@ export default { flex: 1; padding: 0; background: #f4f4f4; + overflow-y: auto; + overflow-x: hidden; + height: calc(100vh - 64px); /* Subtract header height */ } .history-item { @@ -395,6 +398,8 @@ export default { border-left: 3px solid transparent; position: relative; overflow: hidden; + white-space: normal; + word-break: break-word; } .history-item::before { @@ -585,4 +590,10 @@ export default { opacity: 0; } } + +.history-item q-item-label { + width: 100%; + overflow-wrap: break-word; + word-wrap: break-word; +}