Open guraltsev opened 1 year ago
This sounds like something you need to change on Sidebery's side. It kind looks as if Sidebery uses a flex-container for that button-row and then wraps the items that can't fit horizontally - so essentially it wraps them all to separate lines. The solution would be to make it not do that.
Thanks for the head's up! I found this option for Sidebery that is relevant and actually solves the problem:
I will note this on the Sidebery's side so that people know of this issue. Actually, Sidebery can inject custom CSS. A possible solution to have both the icons on multiple lines and correct collapsing functionality would be to have the flex container have a fixed width.
Thank you again!
Yeah, true - for so setups it would be necessary to have them on multiple lines. So yeah, it just has to not depend on the sidebar width, which is the "window width" for the sidebar document - or at least there needs to be a minimum width the flex-container can shrink to.
Still, that's something that Sidebery has to do. I can't do that from the autohide_sidebar side - at least not without breaking some other things.
Could you please tell me in depth how you fixed this error? don't really know what to change to fixed width and stuff.
Based on what the @guraltsev described I'd say that on Sidebery options find "Layout > Show navigation bar in one line" and make sure that option is turned on.
Thank you for maintaining this repository.
I added the autohide_sidebar.css but there seems to be something wrong with the current sidebery version (I use it for vertical tree-style tabs).
When the tab bar is collapsed when unhovered what happens is this:
while it is like this when expanded:
I circled the weird space that appears.
Interestingly, if I add new panels (control buttons) like this:![image](https://github.com/MrOtherGuy/firefox-csshacks/assets/7040974/c90c05c5-84da-4ebe-bc5e-5648df80651c)
When collapsed, it still gives:![image](https://github.com/MrOtherGuy/firefox-csshacks/assets/7040974/c482b1aa-f3b5-4e7e-8efb-0fcb56256145)
Actually, the more the "panels" the more the extra white space!
I think that the space for those icons gets reflowed. I tried looking through the code but I am too inexperienced to fix it.
Thank you!