Skip to content

Commit

Permalink
feat(firefox): reduce the tool bar size
Browse files Browse the repository at this point in the history
  • Loading branch information
0x61nas committed Apr 2, 2024
1 parent 4710a45 commit d0666ad
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions home/.mozilla/firefox/chrome/userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,26 @@ panelview.cui-widget-panelview>vbox {
flex: 1;
min-height: 50vh;
}

/* Reduce the height and padding of the navigation toolbar by default */
#nav-bar {
--toolbar-reduced-height: 24px;
/* Reduced height */
--toolbar-original-height: 39px;
/* Default height, adjust as needed */
height: var(--toolbar-reduced-height);
padding-top: 2px;
/* Adjust padding to ensure buttons are vertically centered */
padding-bottom: 2px;
/* transition: height 0.2s ease-out, padding 0.2s ease-out; */
}


/* Adjust the margin or padding of the following toolbar to avoid overlap */
#PersonalToolbar {
/* Adjust the bookmarks toolbar as an example */
margin-top: 4px;
/* Increase if there is overlap */
}

}

0 comments on commit d0666ad

Please sign in to comment.