-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webextensions: Cannot make tab panel narrower #1373
Comments
It is a limitation of Firefox tiself and WebExtensions-based addons cannot control it. However something userChrome.css rules will do that. |
Add the following code to userChrome.css, it should do what you want. #sidebar {
min-width: 100px !important;
} |
@Keith94 Thanks, that worked! |
@piroor Do you know if there's already a Firefox bug for this? Having some sendible (Let's close this issue once we've either filed one or found one.) |
1346490 - Allow setting min-width and max-width for sidebar seems that, but it was closed as "WONTFiX". |
Hmm, looks like that issue was about controlling the width from an addon. I think for our purposes here we should have an addon-unrelated bug that that simply asks FF to decrease the |
I couldn't find out any bug focusing to the point. (Sorry I won't file it because currently I'm not suffered from "too wide sidebar" - I believe that bugs should be filed by highly motivated parties.) |
@Keith94 's CSS seems to do the trick for me as well. Along these lines, is the ability to remove the "Tree Style Tab" header at the top of the tree list something that's possible, or is this also a limitation of WebExtensions? ( I don't mean to hijack this issue, I can create a new one but this seems related ). |
@naclander It's only possible with userChrome.css, as far as I know. #sidebar-header {
display: none;
} |
@Keith94 Thanks, that fixed it for me. I'm guessing TST ( or other firefox addons ) can't manipulate |
I don't think so, WebExtensions API doesn't provide any means to style the browser UI yet. |
However you can edit and save the file directly from Firefox's dev tools. See Timvde/UserChrome-Tweaks#4 |
I close this because this is out of the range of WebExtensions-based extension. |
Since Firefox 107.0 the size limitation is on the
Should be updated on the wiki on these two entries: |
I was seeing issues with this on Firefox 107.0 on both linux and windows and can confirm @AgentOak's findings. I have updated the relevant wiki snippets. |
Short description
I noticed that with the 2.0 Webextensions (on Linux, FF nightly 57.0a1 2017-09-18) I can no longer make the tab bar narrower than ~1/6th of my 1366px width screen (that is, wider than ~200px).
Is this a limit in TST or a Webextensions panel restriction?
How can I make it narrower than the ~200px?
Thanks!
The text was updated successfully, but these errors were encountered: