Skip to content

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

Merged
neSpecc merged 5 commits into
mainfrom
fix-linux-texts
Apr 26, 2024
Merged

fix(ui): broken sidebar, table of content and header on linux#315
neSpecc merged 5 commits into
mainfrom
fix-linux-texts

Conversation

@neSpecc

@neSpecc neSpecc commented Apr 24, 2024

Copy link
Copy Markdown
Member

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 Apr 24, 2024

@nikmel2803 nikmel2803 left a comment

Copy link
Copy Markdown
Member

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
@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

3 participants