From 29b7f874092892ba30b91d2048d01ccaba7a02d3 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Fri, 4 Oct 2024 16:11:16 +0300 Subject: [PATCH] multirow tabs: apply flex:1 to scrollbox --- chrome/multi-row_tabs.css | 1 + chrome/multi-row_tabs_below_content.css | 1 + 2 files changed, 2 insertions(+) diff --git a/chrome/multi-row_tabs.css b/chrome/multi-row_tabs.css index 8316303..185cfc6 100644 --- a/chrome/multi-row_tabs.css +++ b/chrome/multi-row_tabs.css @@ -29,6 +29,7 @@ See the above repository for updates as well as full license text. */ scrollbox[part][orient="horizontal"] > slot, scrollbox[part][orient="horizontal"]{ display: flex; + flex: 1; flex-wrap: wrap; overflow-y: auto; max-height: calc((var(--tab-min-height) + 2 * var(--tab-block-margin,0px)) * var(--multirow-n-rows)); diff --git a/chrome/multi-row_tabs_below_content.css b/chrome/multi-row_tabs_below_content.css index 1d97111..62c8ffd 100644 --- a/chrome/multi-row_tabs_below_content.css +++ b/chrome/multi-row_tabs_below_content.css @@ -180,6 +180,7 @@ See the above repository for updates as well as full license text. */ scrollbox[part][orient="horizontal"] > slot, scrollbox[part][orient="horizontal"]{ display: flex; + flex: 1; flex-wrap: wrap; overflow-y: auto; max-height: var(--uc-scrollbox-max-height,1px);