Closed rtgibbons closed 6 months ago
TST is now a WebExtensions addon so it cannot expose anything CSS variable to the chrome area. You may need to do something hack like userChrome.js.
Thanks , I'll have to hack around with this and see what I can come up with. Thanks.
I was playing around with layout of the sidebar and nav-bar. I'm looking for the ability to get the sidebar width and be able to use that in userChrome.css. I've tried searching and looking around for it and haven't stumbled on it yet. Is it possible to set this as a CSS variable for use in the Browsers scope?
What I'm looking to do is to move the
#nav-bar
dynamically based on the width of sidebar (see Safari). Attached is a screenshot of what it looks like in Firefox now, but if I resize the sidebar, the#nav-bar
doesn't move. which can case the sidebar to go "on top" of the navigation buttons.Here is my userChrome.css that gets me what I have done to date (still a few small tweaks needed)