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.
This commit is contained in:
wizardchen
2026-04-23 10:47:43 +08:00
parent 8099f6cc60
commit 0d429613e2
@@ -2555,6 +2555,7 @@ onUnmounted(() => {
align-items: center; align-items: center;
gap: 6px; gap: 6px;
font-size: 11px; font-size: 11px;
line-height: 14px;
color: var(--td-text-color-secondary); color: var(--td-text-color-secondary);
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
@@ -2576,10 +2577,21 @@ onUnmounted(() => {
} }
.legend-action-icon { .legend-action-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 14px;
height: 14px;
flex-shrink: 0;
font-size: 13px; font-size: 13px;
font-family: monospace; line-height: 1;
color: var(--td-text-color-placeholder); color: var(--td-text-color-placeholder);
transition: color 0.15s; transition: color 0.15s;
.t-icon {
font-size: 13px;
line-height: 1;
}
} }
@keyframes node-active-pulse { @keyframes node-active-pulse {