mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-09 16:23:27 +08:00
✨ feat(redis): 优化数据库别名与计数展示
- Redis DB 标题不再重复拼接 key 数量 - 将别名单独渲染为浅色文本并支持设置后即时刷新 Fixes #593
This commit is contained in:
@@ -2841,6 +2841,20 @@ body[data-ui-version="v2"] .gn-v2-tree-label {
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
body[data-ui-version="v2"] .gn-v2-tree-title.is-redis-db .gn-v2-tree-label {
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
body[data-ui-version="v2"] .gn-v2-redis-db-alias {
|
||||
color: var(--gn-fg-5);
|
||||
font-family: var(--gn-font-sans);
|
||||
font-size: clamp(10px, calc(var(--gn-sidebar-tree-font-size, var(--gn-font-size-sm, 12px)) - 1px), 16px);
|
||||
font-weight: 400 !important;
|
||||
opacity: 0.78;
|
||||
}
|
||||
|
||||
body[data-ui-version="v2"] .gn-v2-tree-connection-copy {
|
||||
min-width: max-content;
|
||||
flex: 0 0 auto;
|
||||
|
||||
Reference in New Issue
Block a user