Skip to content
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

fix(ui): broken sidebar, table of content and header on linux #315

Merged
merged 5 commits into from
Apr 26, 2024

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Apr 24, 2024

Problem

We've found a strange behavior in some UI components on Linux. Seems like a bug on a GPU side.

image

Cause

During debug I noticed, that problem disappears when we hover an element. In other words, the problem reproduced only on elements without background.

The second reason is our --squircle mixin which used -webkit-mask-box-image internally. If we disable it, problem disappeared.

Solution

I've disabled squircle on default states of elements. Now we're adding it only when it has a bg (on hover or active state)

Resolves #314

@neSpecc neSpecc changed the title Fix linux texts fix(ui): broken sidebar, table of content and header on linux Apr 24, 2024
Copy link
Member

@nikmel2803 nikmel2803 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@neSpecc neSpecc merged commit 7f51a72 into main Apr 26, 2024
2 checks passed
@neSpecc neSpecc deleted the fix-linux-texts branch April 26, 2024 10:47
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.

Buggy text displaying in UI elements
3 participants