Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

Commit

Permalink
Added an option to remove the resizing of URL-bar completelly
Browse files Browse the repository at this point in the history
  • Loading branch information
Izheil committed Apr 8, 2020
1 parent 1046d2b commit d7d05b9
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion CSS tweaks/Bookmarks+URLbar+Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@

/* URL bar */

/* Resize the URL bar to a less intrusive size (unless open) */
/* This should be obvious, but ONLY USE ONE of the variants of the URL-bar resizing tweaks
* (either disable resizing completely, or disable resizing when the popup isn't open, but NOT BOTH */

/* Disables resizing of the URL-bar when the search suggestions popup isn't open */
#urlbar[breakout][breakout-extend]:not([open]) {
width: 100% !important;
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
Expand All @@ -28,6 +31,20 @@
padding-block: 0 !important;
}

/* Disables resizing of the URLbar completely */
#urlbar[breakout-extend] {
width: 100% !important;
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0 !important;
}

#urlbar[breakout-extend] > #urlbar-input-container {
min-height: var(--urlbar-height) !important;
height: 100% !important;
padding-inline: 0 !important;
padding-block: 0 !important;
}

/* This allows you to change the font of the url to prevent ULR spoofing with a more
differentiable font (Thanks to BelladonnavGF for the tip) */
#urlbar {font-family: Georgia !important}
Expand Down

0 comments on commit d7d05b9

Please sign in to comment.