Skip to content

Commit

Permalink
fix: Bottom tab is no longer cut off. ✂️
Browse files Browse the repository at this point in the history
Remove extra 22px height from .tabbrowser-arrowscrollbox to account for lightweight themes.
Remove 1px height from .tabbrowser-arrowscrollbox that is visible in certain themes (on Mac).
Add a custom rule for Windows to remain at 42px always.

Fixes #238.
Merge pull request #330 from ericawright/fix/tab_cut_off.
  • Loading branch information
bwinton committed Jun 4, 2016
2 parents 7f01872 + 98b8f15 commit 6ea52f4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion skin/light/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,21 @@
}

.tabbrowser-arrowscrollbox {
height: calc(100vh - 42px);
height: calc(100vh - 63px);
flex: 1 0;
}

.tabbrowser-arrowscrollbox:not(:-moz-lwtheme) {
height: calc(100vh - 41px);
}

@media (-moz-os-version: windows-xp), (-moz-os-version: windows-vista), (-moz-os-version: windows-win7), (-moz-os-version: windows-win8), (-moz-os-version: windows-win10) {
.tabbrowser-arrowscrollbox,
.tabbrowser-arrowscrollbox:not(:-moz-lwtheme) {
height: calc(100vh - 42px);
}
}

#verticaltabs-box .tabbrowser-arrowscrollbox > scrollbox {
overflow-y: hidden !important;
}
Expand Down

0 comments on commit 6ea52f4

Please sign in to comment.