Skip to content

Fix inner border radius of selected box like Essentials#106

Open
SBence wants to merge 1 commit intoCosmoCreeper:mainfrom
SBence:box-like-essentials-border-fix
Open

Fix inner border radius of selected box like Essentials#106
SBence wants to merge 1 commit intoCosmoCreeper:mainfrom
SBence:box-like-essentials-border-fix

Conversation

@SBence
Copy link
Copy Markdown

@SBence SBence commented Apr 20, 2026

The inner border radius of selected Essentials is calculated like so: border-radius: calc(var(--border-radius-medium) - var(--zen-essential-bg-margin));.
By redefining the CSS variable --border-radius-medium instead of setting border-radius directly on .tab-background we ensure that the correct value (5px) is used in the calculation above, restoring perfectly aligned border radii.

Fixes the inner border radius of selected box like Essentials.
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