Skip to content

Commit f65d966

Browse files
fix(tabsbar): rework fix for pinned tabs on collapsed sidebar
1 parent 4291598 commit f65d966

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

theme/parts/tabsbar.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,14 @@ spacer[part=overflow-start-indicator], spacer[part=overflow-end-indicator] {
347347
}
348348
}
349349
}
350+
351+
#tabbrowser-tabs:not([expanded]) & {
352+
#pinned-tabs-container[orient="vertical"] & {
353+
@media not -moz-pref("sidebar.expandOnHover") {
354+
justify-content: unset !important;
355+
}
356+
}
357+
}
350358
}
351359

352360
/* Tab label */
@@ -494,14 +502,6 @@ spacer[part=overflow-start-indicator], spacer[part=overflow-end-indicator] {
494502
}
495503
}
496504

497-
#pinned-tabs-container[orient="vertical"] {
498-
:root:not([sidebar-expand-on-hover]) & {
499-
& .tab-content {
500-
justify-content: unset !important;
501-
}
502-
}
503-
}
504-
505505
/* Tabs separators */
506506
:root[dir="ltr"] #tabbrowser-tabs[orient="horizontal"] {
507507
:not([collapsed]) > tab {

0 commit comments

Comments
 (0)