Skip to content

fixed tab number overlapping with pinned tab icon#28

Open
eruiui23 wants to merge 1 commit intophilmard:mainfrom
eruiui23:main
Open

fixed tab number overlapping with pinned tab icon#28
eruiui23 wants to merge 1 commit intophilmard:mainfrom
eruiui23:main

Conversation

@eruiui23
Copy link
Copy Markdown

@eruiui23 eruiui23 commented Oct 8, 2025

Fixed an issue where tab number is overlapping with pinned tab icon

image

this issue happen when we browse through the pinned tab. For example if I pin reddit.com, the tab number is working fine until I open a reddit post which will make the url is not just reddit.com anymore.

image

Zen will change the .tab-icon-stack position attribute to absolute , which will make the tab number overlap with the button icon

Solution

[zen-pinned-changed='true']:not([zen-essential]) .tab-reset-pin-button image {
  opacity: 1 !important;
}

[zen-pinned-changed='true']:not([zen-essential]) .tab-icon-image {
  opacity: 0 !important;
}

this will display the button img and just hide the pinned tab icon.

sorry for bad English or bad code. This is my first time trying to fork and try to fix smth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant