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;
|
||||
|
||||
Reference in new issue
Block a user