fix(desktop): improve legacy WebView compatibility

This commit is contained in:
知食分子 authored and GitHub committed 2026-08-12 21:59:52 +08:00
1 parent 6a88df5500
commit 513c3011fc
5 files changed
+92 -11

No files matched your search

@@ -2224,6 +2224,28 @@ defineExpose({ focusSearch, createNewGroup, collapseAllTreeNodes });
background: color-mix(in oklch, var(--foreground) 48%, transparent);
}
html.dbx-legacy-webview .sidebar-tree-scrollbar {
opacity: 0.9;
}
html.dbx-legacy-webview .sidebar-tree-scrollbar__thumb {
background: rgba(82, 82, 82, 0.42);
}
html.dbx-legacy-webview.dark .sidebar-tree-scrollbar__thumb {
background: rgba(212, 212, 216, 0.42);
}
html.dbx-legacy-webview .sidebar-tree-scrollbar:hover .sidebar-tree-scrollbar__thumb,
html.dbx-legacy-webview .sidebar-tree-scrollbar--dragging .sidebar-tree-scrollbar__thumb {
background: rgba(82, 82, 82, 0.62);
}
html.dbx-legacy-webview.dark .sidebar-tree-scrollbar:hover .sidebar-tree-scrollbar__thumb,
html.dbx-legacy-webview.dark .sidebar-tree-scrollbar--dragging .sidebar-tree-scrollbar__thumb {
background: rgba(212, 212, 216, 0.62);
}
.sidebar-tree-horizontal-scrollbar {
position: absolute;
right: 0;