fix(layout): make settings scrollable and unclip storage tab

This commit is contained in:
zipg authored and GitHub committed 2026-09-28 13:13:16 +08:00
1 parent 8a3b8eed67
commit 6ce402f26b
2 files changed
+11 -3

No files matched your search

@@ -2231,8 +2231,10 @@ html.dark .driver-store-agent-row--installed::before {
overflow-x: hidden;
}
/* Storage tab: cards scroll together inside the tab */
.driver-store-storage-tab {
/* Storage tab: cards scroll together inside the tab. The selector must out-specify
`.driver-store-tabs-root > [data-slot="tabs-content"]` above, otherwise the
`overflow: hidden` there wins and the cards get clipped with no way to scroll. */
.driver-store-tabs-root > [data-slot="tabs-content"].driver-store-storage-tab {
display: flex !important;
flex-direction: column;
flex: 1 1 0;
@@ -2241,6 +2243,12 @@ html.dark .driver-store-agent-row--installed::before {
overflow-x: hidden;
}
/* Cards must keep their natural height, otherwise `flex` squeezes the runtime
list inside the last card instead of letting the tab scroll. */
.driver-store-tabs-root > [data-slot="tabs-content"].driver-store-storage-tab > * {
flex-shrink: 0;
}
.driver-store-agent-name,
.driver-store-jdbc-name {
flex: 1 1 auto !important;