Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Bug] Shrink sidebar until hovered of userChrome.css after FF 133 #3668

Closed
marrak opened this issue Nov 27, 2024 · 0 comments
Closed

[Bug] Shrink sidebar until hovered of userChrome.css after FF 133 #3668

marrak opened this issue Nov 27, 2024 · 0 comments

Comments

@marrak
Copy link

marrak commented Nov 27, 2024

Abstract

After upgrade of Firefox from 132.0.2 to 133.0 Shrink sidebar until hovered does not work

Steps to reproduce

  1. Start Firefox with clean profile.
  2. Install TST.
  3. Use userChrome.css
    /* Shrink sidebar until hovered, when using Tree Style Tab. */
    :root {
    --thin-tab-width: 1px;
    --wide-tab-width: 100px;
    }
    #sidebar-box:not([sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]) {
    min-width: var(--wide-tab-width) !important;
    max-width: none !important;
    }
    #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
    position: relative !important;
    transition: all 100ms !important;
    min-width: var(--thin-tab-width) !important;
    max-width: var(--thin-tab-width) !important;
    }
    #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover {
    transition: all 200ms !important;
    min-width: var(--wide-tab-width) !important;
    max-width: var(--wide-tab-width) !important;
    margin-left: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important;
    }

Expected result

Tree is properly shrinking

Actual result

Tree is not visible at all (only tool tips of cards can be seen)

Workaround

Changing
margin-left: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important;
to
margin-left: -1px !important;

alt least shows tab, but works hard :/

Environment

  • Platform (OS): Win10
  • Version of Firefox: 133.0
  • Version (or revision) of Tree Style Tab: 4.0.25
Repository owner locked and limited conversation to collaborators Nov 27, 2024
@piroor piroor converted this issue into discussion #3669 Nov 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants