This repository was archived by the owner on Jun 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Dashed indent guides incosistent with tab levelΒ #93
Copy link
Copy link
Open
Description
Describe the bug
The dashed indent guides are the same for differently indented tabs, i.e. tabs on different "levels".
To Reproduce
Steps to reproduce the behavior:
- Select one of Flying Fox's custom css configurations for Tree Style Tabs. I checked this behavior happens on both
custom.cssandcustom-hover.css. - Open a link in a new tab, so that you have one level of indentation.
- On that new tab, open another link in another new tab. You should now have two levels of indentation.
- Notice how both show a dashed line at the same level, which is a bit confusing.
Firefox Version
91.0
Additional Information
I tried tweaking the css a little bit, but I'm not much of an expert π
. I have a hunch that using the data-level variable to set the margin-left field of tab-item might solve this.
In any case, here's the best pseudo-css I could come up with:
tab-item:not([data-level="0"]):not(.pinned) {
...
margin-left: calc(data-level * 7px);
...
}And, of course, thanks for developing FlyingFox! It made my productivity skyrocket on my many online classes π
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
