Using Firefox-developer-edition hi, I need help with this new Firefox Feature, seems like the sound tabs get larger when the user is moving any tab. I tried to reach the code, but I can’t, I want the ‘sound-Tab’ to keep the width.

Update: Seems like this code is causing it, maybe there is another way to set a max width?

@media not -moz-pref("sidebar.verticalTabs") {

    #tabbrowser-arrowscrollbox[orient="horizontal"] {

        /* Horizontal tab size for ungrouped tabs */

        &>.tabbrowser-tab[fadein]:not([style^="max-width"]) {
            max-width: 168px !important;
        }

        /* Horizontal tab size for grouped tabs */

        &>tab-group:not([collapsed]) .tabbrowser-tab[fadein]:not([style^="max-width"]) {
            max-width: 168px !important;
        }
   }
}
  • Séra Balázs
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Is there anything else that you want to achieve with the code, or do you just want to decrease the maximum width for all tabs?

    • GodieOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      decrease the maximum width

      Exactly, the default is so large, like a sausage.

      • Séra Balázs
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Then you could just do it like this:

        @media not -moz-pref("sidebar.verticalTabs") {
        .tabbrowser-tab{max-width: 168px !important}}
        
        • GodieOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Seems like other code combined with this are incompatible (with a tab with sound) in my particular case, first I have to figure it out what of my other code is in conflict, rare all this situation. With your latest code, the issue persist.