diff --git a/frontend/src/components/doc-content.vue b/frontend/src/components/doc-content.vue index 5501a7e5..4c5bdb35 100644 --- a/frontend/src/components/doc-content.vue +++ b/frontend/src/components/doc-content.vue @@ -1851,6 +1851,14 @@ const handleDetailsScroll = () => { {{ chunk.original.is_enabled ? $t('knowledgeBase.enabledStatus') : $t('knowledgeBase.disabledStatus') }} +
+ + {{ $t('knowledgeBase.diffAddedInCurrent') }} + + + {{ $t('knowledgeBase.diffRemovedFromCurrent') }} + +
@@ -1883,21 +1891,13 @@ const handleDetailsScroll = () => { - - {{ $t('knowledgeBase.revertRevision') }}
-
- - {{ $t('knowledgeBase.diffAddedInCurrent') }} - - - {{ $t('knowledgeBase.diffRemovedFromCurrent') }} - -
{{ $t('knowledgeBase.noContentChanges') }}
@@ -2614,6 +2614,10 @@ const handleDetailsScroll = () => { } .chunk-history-popup-head { + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; padding: 8px 12px 7px; border-bottom: 1px solid var(--td-component-stroke); } @@ -2710,7 +2714,7 @@ const handleDetailsScroll = () => { } .chunk-history-diff { - padding: 0 14px 12px; + padding: 0 12px 10px; } .chunk-history-diff-head { @@ -2718,7 +2722,7 @@ const handleDetailsScroll = () => { align-items: center; justify-content: space-between; gap: 10px; - min-height: 32px; + min-height: 30px; color: var(--td-text-color-placeholder); font-size: 11px; } @@ -2727,7 +2731,8 @@ const handleDetailsScroll = () => { display: flex; align-items: center; gap: 12px; - margin: 0 0 6px; + margin: 0; + flex-shrink: 0; color: var(--td-text-color-placeholder); font-size: 10px; }