Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/web-ui/src/app/styles/utilities/high-dpi-optimization.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

/* Input and text area optimization */
input, textarea, [contenteditable] {
input, textarea {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
Expand All @@ -26,6 +26,16 @@
/* Avoid subpixel rendering issues */
will-change: auto;
}

/* Keep contenteditable surfaces out of forced compositing.
WKWebView on macOS is sensitive to 3D transforms here and can lose
stable focus/selection behavior on chat/editor inputs. */
[contenteditable] {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-feature-settings: "liga", "kern";
}

/* Avoid blurry transforms */
.no-blur-transform {
Expand Down
Loading