black7375 / Firefox-UI-Fix

🦊 I respect proton UI and aim to improve it.
Mozilla Public License 2.0
5.26k stars 184 forks source link

Tabs bar has scroll buttons when it shouldn't have them, causing tiny scrolling area #754

Open Dwedit opened 11 months ago

Dwedit commented 11 months ago

Describe the bug

The tabs bar has scroll buttons when it shouldn't have them, causing a tiny scrolling area.

Steps to reproduce:

It looks like it's evaluating the width of the tab bar area minus the size of the scroll buttons, and that causes it to think there's not enough room.

The same problem also happens on a 1920px window after opening 24 tabs.

Expected behavior

What should happen: Upon returning down to 9 open tabs (on 960px wide window), it should not put scroll buttons up.

Screenshots

No response

OS

Windows 10

OS - Others

No response

Firefox Version

116.0.2

Distribution

Theme

Theme - More Info

No response

user.js setup

User.js matches the one from Firefox-UI-Fix.

Additional context

No response