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

Close button on clipped tabs ff113 #704

Closed gedem1 closed 1 year ago

gedem1 commented 1 year ago

Describe the bug

Hello. After updating to ff113 i noticed that close buttons disappeared from clipped tabs.

Expected behavior

I fixed this by replacing:

    /** Clipped tabs - Show close button at hover *********************************/
@supports -moz-bool-pref("userChrome.tab.close_button_at_hover") {
  #tabbrowser-tabs[closebuttons="activetab"]
    > #tabbrowser-arrowscrollbox
    > .tabbrowser-tab:not([pinned])
    > .tab-stack
    > .tab-content
    > .tab-close-button:not([selected="true"]) {
    display: -moz-inline-box !important;
  }

With:

    /** Clipped tabs - Show close button at hover *********************************/
@supports -moz-bool-pref("userChrome.tab.close_button_at_hover") {
  #tabbrowser-tabs[closebuttons="activetab"]
    > #tabbrowser-arrowscrollbox
    > .tabbrowser-tab:not([pinned])
    > .tab-stack
    > .tab-content
    > .tab-close-button:not([selected="true"]) {
    display: flex !important; /**THIS IS THE FIX**/
  }

Screenshots

2023_05_20_02_05_38_

OS

Windows 10

OS - Others

No response

Firefox Version

113

Distribution

Theme

Theme - More Info

No response

user.js setup

user.js setup
```javascript user_pref("userChrome.tab.close_button_at_hover.always", true); // Need close_button_at_hover ```

Additional context

https://www.reddit.com/r/FirefoxCSS/comments/11odffm/psa_incoming_changes_to_default_element/

black7375 commented 1 year ago

First of all, thank you for suggesting issue and solution!! This issue was processed in #696 and was released.

You can update to git pull/script or download the latest version (V7.3.0).