Skip to content

Commit 6747336

Browse files
committed
style: expand sidebar tab pills to full sidebar width
1 parent 4318fdf commit 6747336

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/styles/Extn-SidebarTabs.less

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222

2323
#navTabBar {
2424
display: none;
25-
align-items: center;
25+
align-items: stretch;
2626
gap: 2px;
27-
width: fit-content;
2827
margin: 0.5rem 0.5rem 0.4rem;
2928
padding: 3px;
3029
background-color: rgba(0, 0, 0, 0.3);
@@ -33,13 +32,15 @@
3332
user-select: none;
3433

3534
&.has-tabs {
36-
display: inline-flex;
35+
display: flex;
3736
}
3837
}
3938

4039
.sidebar-tab {
4140
display: inline-flex;
4241
align-items: center;
42+
justify-content: center;
43+
flex: 1 1 0;
4344
gap: 0.4rem;
4445
padding: 0.25rem 0.75rem;
4546
cursor: pointer;

0 commit comments

Comments
 (0)