Skip to content

Commit

Permalink
Fix: Centered Label - Prevent overflow and unwinding #508
Browse files Browse the repository at this point in the history
This is next commit's follow-up.
8ffcd54
  • Loading branch information
black7375 committed Dec 5, 2022
1 parent 30e3219 commit cb83f1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/leptonChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -6971,7 +6971,7 @@
}
.tab-label,
.tab-secondary-label {
overflow: hidden;
overflow: clip;
}
.tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]),
.tabbrowser-tab:not(:hover, [pinned]) .tab-label-container:not([textoverflow]) {
Expand Down
4 changes: 2 additions & 2 deletions src/centered/tab/_label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
}
.tab-label,
.tab-secondary-label {
overflow: hidden;
overflow: clip;
}

.tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]),
.tabbrowser-tab:not(:hover,[pinned]) .tab-label-container:not([textoverflow]) {
margin-inline-end: 5px;
margin-inline-end: 5px; // userChrome.tab.close_button_at_hover 6px - 1px
}

0 comments on commit cb83f1b

Please sign in to comment.