Comments (8)
Had the same problem, i came up with a quick fix not sure yet if there is a better way currently but it's working for now.
#urlbar {
position: absolute!important;
top: 0!important;
}
#urlbar-input-container {
height: 32px!important;
}
The height value would change based on what you have yours set to.
from userchrome-tweaks.
Glad it helped @pauricthelodger.
That's why it's a quick fix, top
and height
need to be adjusted to fit your local firefox version, been looking in to a more static solution but the couple i have come up with had other side effects that are not desirable.
from userchrome-tweaks.
Likewise here with 75 under linux
from userchrome-tweaks.
Cheers for that, @A-Lamia!
With yours I got the following:
So I tweaked it a little bit more to this:
#urlbar {
position: absolute!important;
top: 3px!important;
}
#urlbar-input-container {
height: 26px!important;
}
And got:
The tweaks might just be for my local though so ymmv =)
from userchrome-tweaks.
So after some time i have figured out that the issue is the code is setting #urlbar
's internal variable --urlbar-toolbar-height
to 1px
from 32px
(or what ever yours is set to.).
The value of --urlbar-toolbar-height
from what i can tell (could be wrong) is fetched from what ever the height of #nav-bar
is on startup, in this case it gets set to 1px because of auto hide.
This is causing a calc()
function on the top
property in #urlbar[breakout]
to calculate incorrectly giving us the positioning errors.
#nav-bar {
--navbar-height: 32px;
}
#nav-bar:not([customizing="true"]):not([inFullscreen]){
min-height: 1px !important;
max-height: 0px !important;
margin-top: 1px !important;
margin-bottom: -1px !important;
transition: all 50ms linear 0s !important;
z-index: -5 !important;
}
#navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#nav-bar),
#navigator-toolbox:focus-within :-moz-any(#nav-bar) {
min-height: var(--navbar-height) !important;
max-height: var(--navbar-height) !important;
margin-top: 1px !important;
margin-bottom: calc(-1 * var(--navbar-height)) !important;
opacity: 1 !important;
transition: all 50ms linear 0s !important;
z-index: 5 !important;
}
/* Restores the variables original value. */
#urlbar.megabar {
--urlbar-toolbar-height: var(--navbar-height) !important;
}
/* Positions the url view to the bottom of your toolbar and aligned with top border. */
.urlbarView.megabar {
top: -2px !important;
}
from userchrome-tweaks.
See #175
I chose not to use another variable to make things simple.
from userchrome-tweaks.
Since right now auto-hide.css no longer hides the bookmarks bar forcing the user to add a separate piece of code (sliding-bookmarks-bar.css), I looked into fixing the old code for auto-hide.css when it still contained the bits that hid the bookmarks bar on the process for my personal use, and thanks to the modification provided above by @A-Lamia, I was able to.
Thank you very much, A-Lamia!
This is how it looks on my end:
/*
* Auto-hide the URL-bar and bookmarks bar, show on hover or focus
* https://github.com/Timvde/UserChrome-Tweaks/blob/master/toolbars/auto-hide.css
* Contributor(s): Alex Vallat
*/
#PersonalToolbar:not([customizing]),
#nav-bar:not([customizing="true"]):not([inFullscreen]) {
min-height: 1px !important;
max-height: 0px !important;
margin-top: 1px !important;
margin-bottom: -1px !important;
transition: 0s !important;
z-index: -5 !important;
}
#navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#nav-bar),
#navigator-toolbox:focus-within :-moz-any(#nav-bar) {
min-height: 30px !important;
max-height: 30px !important;
margin-top: 1px !important;
margin-bottom: -30px !important;
transition: 0s !important;
z-index: 5 !important;
}
#navigator-toolbox:hover:not([inFullscreen]) :-moz-any(#PersonalToolbar),
#navigator-toolbox:focus-within :-moz-any(#PersonalToolbar) {
min-height: 21px !important;
max-height: 21px !important;
margin-top: 30px !important;
transition: 0s !important;
z-index: 5 !important;
}
#urlbar {
top: 4px !important;
bottom: 0px !important;
}
from userchrome-tweaks.
I would very much welcome a pull request :)
from userchrome-tweaks.
Related Issues (20)
- Hamburger Menu: move-to-top-left-Linux-Windows.css half-broke in FF71 HOT 2
- toolbars/auto-hide.css affected by Firefox 72 HOT 3
- show-bookmarks-only-on-newtab.css hides bookmarks toolbar anywhere in FF 72 HOT 6
- auto-hide-sidebar.css seems to load 'behind' content as of Firefox 72(.01?) HOT 3
- auto-hide-sidebar.css not working with FF 72.0 HOT 1
- auto-hide.css breaks Firefox 72 entirely HOT 9
- auto-hide.css : navbar doesn't expand when focused using Ctrl-L HOT 2
- Firefox 74 breaks icons and bookmarks side bar HOT 1
- Not clear how to use this HOT 1
- Firefox 75 broke some tweaks in my userChrome.css (tabbar) HOT 2
- Hiding icons
- "multi-row-tabs-rounded-corners.css" on "77.0.1" does not work properly.
- show-bookmarks-only-on-newtab.css doesn't work anymore
- In its current state, auto-hide.css makes the bookmark bar unusable on Firefox 79
- Question about the behavior of "More Compact Tabs" on Windows 10 HOT 5
- osx FF78 change bookmarks manager window font size
- sliding-bookmarks-bar.css doesn't seem to work correctly on its own HOT 1
- remove-padding-when-not-maximized-macOS-Windows.css doesn't work
- Request for tabs vertically on left or right side.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from userchrome-tweaks.