From 0d429613e2f2844ebe465885ea9b25252a868106 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Thu, 23 Apr 2026 10:47:43 +0800 Subject: [PATCH] style: Update WikiBrowser component styles for improved layout - Added line-height to text elements for better readability. - Enhanced the legend-action-icon class with display properties for improved alignment and consistency in icon presentation. - Adjusted font sizes and line heights for better visual hierarchy and user experience. --- frontend/src/views/knowledge/wiki/WikiBrowser.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/knowledge/wiki/WikiBrowser.vue b/frontend/src/views/knowledge/wiki/WikiBrowser.vue index a56b3415..0649d83d 100644 --- a/frontend/src/views/knowledge/wiki/WikiBrowser.vue +++ b/frontend/src/views/knowledge/wiki/WikiBrowser.vue @@ -2555,6 +2555,7 @@ onUnmounted(() => { align-items: center; gap: 6px; font-size: 11px; + line-height: 14px; color: var(--td-text-color-secondary); cursor: pointer; user-select: none; @@ -2576,10 +2577,21 @@ onUnmounted(() => { } .legend-action-icon { + display: inline-flex; + align-items: center; + justify-content: center; + width: 14px; + height: 14px; + flex-shrink: 0; font-size: 13px; - font-family: monospace; + line-height: 1; color: var(--td-text-color-placeholder); transition: color 0.15s; + + .t-icon { + font-size: 13px; + line-height: 1; + } } @keyframes node-active-pulse {