mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
fix: Garbled text in sidebar and dropdown menus on Linux
Linux users with Intel GPUs have been reporting issues with garbled or ghosting text in the sidebar nav and header dropdown menu. The exact cause is unknown but likely a Electron rendering issue with Intel GPUs when opacity is set with the icons and text elements. To workaround the problem we can set an element that will change the stacking context directly on the problem elements. Fixes: https://github.com/logseq/logseq/issues/7233
This commit is contained in:
committed by
Gabriel Horner
parent
ae683159fb
commit
02e8dbabd2
@@ -128,6 +128,11 @@
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
/* Workaround for Linux Intel GPU text rendering issue GH#7233 */
|
||||
.is-electron.is-linux .cp__header .dropdown-wrapper .title-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.cp__header a, .cp__header svg {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user