Fix: Tab Bar - Remove scroll snap at multi row

This commit is contained in:
alstjr7375 2022-11-23 06:20:26 +09:00
parent 15240368d7
commit e231bc60a9
2 changed files with 5 additions and 9 deletions

View file

@ -5771,7 +5771,6 @@
flex-wrap: wrap;
overflow-y: auto;
max-height: calc((var(--tab-min-height) + 2 * var(--tab-block-margin, 0px)) * var(--uc-multirow-tabbar-rows));
scroll-snap-type: y mandatory;
}
}
.scrollbox-clip[orient="horizontal"],
@ -5780,9 +5779,6 @@
display: block;
--scrollbutton-display-model: none;
}
.tabbrowser-tab {
scroll-snap-align: start;
}
#tabbrowser-tabs .tabbrowser-tab[pinned] {
position: static !important;
margin-inline-start: 0px !important;

View file

@ -31,7 +31,11 @@ See the above repository for updates as well as full license text. */
max-height: calc((var(--tab-min-height) + 2 * var(--tab-block-margin, 0px)) * var(--uc-multirow-tabbar-rows));
// scrollbar-color: currentColor transparent;
// scrollbar-width: thin;
scroll-snap-type: y mandatory;
// scroll-snap-type: y mandatory;
// .tabbrowser-tab {
// scroll-snap-align: start;
// }
}
}
@ -42,10 +46,6 @@ See the above repository for updates as well as full license text. */
--scrollbutton-display-model: none;
}
.tabbrowser-tab {
scroll-snap-align: start;
}
#tabbrowser-tabs .tabbrowser-tab[pinned] {
position: static !important;
margin-inline-start: 0px !important;