fix(layout): make settings scrollable and unclip storage tab
This commit is contained in:
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;
|
||||
|
||||
@@ -6142,7 +6142,7 @@ onUnmounted(() => {
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
<div class="min-w-0 flex-1 overflow-visible pl-1 pr-0 flex flex-col">
|
||||
<div class="min-w-0 min-h-0 flex-1 overflow-visible pl-1 pr-0 flex flex-col">
|
||||
<div class="shrink-0 px-2 pt-1 pb-3">
|
||||
<div ref="settingsSearchInputContainerRef" class="relative">
|
||||
<Search class="pointer-events-none absolute top-1/2 left-4 z-10 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
|
||||
|
||||
Reference in new issue
Block a user