Skip to content

Commit 9954a13

Browse files
committed
style: adjust margins for pinned tabs in tabbar
- Added margin adjustments for the pinned tabs container to improve layout. - Ensured proper spacing when the pinned tabs are empty or filled.
1 parent 5473e88 commit 9954a13

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

chrome/toolbar/tabbar.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,20 @@
310310
display: none !important;
311311
}
312312
/* Tasb groups */
313-
#tabbrowser-arrowscrollbox {
313+
314+
#pinned-tabs-container[orient="horizontal"] {
315+
margin-inline-start: 14px !important;
316+
margin-inline-end: 0 !important;
317+
}
318+
#tabbrowser-tabs:has(#pinned-tabs-container:empty) #tabbrowser-arrowscrollbox {
314319
margin-inline-start: 14px !important;
320+
}
321+
322+
#tabbrowser-tabs:has(#pinned-tabs-container:not(:empty)) #tabbrowser-arrowscrollbox {
323+
margin-inline-start: 0 !important;
324+
}
325+
326+
#tabbrowser-tabs>#tabbrowser-arrowscrollbox {
315327
margin-inline-end: 6px !important;
316328
}
317329
.tab-group-label {

0 commit comments

Comments
 (0)