multi-row-tabs: remove bottom-margin from tabs-newtab-button

The 1px bottom margin may have small visible effect for row-height computation
in which case the visible height may be thrown off by a little bit. This
patch fixes that issue.
This commit is contained in:
MrOtherGuy 2021-11-01 18:39:58 +02:00
parent d0c5ac941c
commit b6ae559352
2 changed files with 6 additions and 0 deletions

View file

@ -73,6 +73,9 @@ See the above repository for updates as well as full license text. */
.tabbrowser-tab > stack{ width: 100%; height: 100% }
/* remove bottom margin so it doesn't throw off row height computation */
#tabs-newtab-button{ margin-bottom: 0 !important; }
#alltabs-button,
:root:not([customizing]) #TabsToolbar #new-tab-button,
#tabbrowser-arrowscrollbox > spacer,

View file

@ -183,6 +183,9 @@ See the above repository for updates as well as full license text. */
/* This should fix potential flash that could occur when bottom border is hovered to show tabs in fullscreen mode */
#tabbrowser-tabpanels{ background-color: var(--lwt-accent-color) !important; }
/* remove bottom margin so it doesn't throw off row height computation */
#tabs-newtab-button{ margin-bottom: 0 !important; }
/* Hide some things that are unnecessary in multi-row below content mode */
#TabsToolbar > #window-controls,