Skip to content

Commit ceda82b

Browse files
authored
fix: DH-19948: increase max dashboard tab title width (#2532)
Adjust the maximum width of dashboard tab titles to accommodate longer titles. Cap at 40vw seems reasonably long, and makes use of more space, the more space is available.
1 parent 53c4d26 commit ceda82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/navigation/NavTabList.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ $tab-control-btn-offset: -8px;
3838
.btn-nav-tab {
3939
line-height: $tab-height - $tab-drag-border-width * 2; // subtract top and bottom borders, and focus border
4040
width: auto;
41-
max-width: 200px;
41+
max-width: max(200px, 40vw);
4242
overflow: hidden;
4343
padding: 0 $tab-link-side-padding;
4444
position: relative;

0 commit comments

Comments
 (0)