Disable text-rendering: optimizeSpeed

It causes text to jump. It has different kerning when optimized for speed
This commit is contained in:
Lim Chee Aun 2024-02-23 18:05:39 +08:00
parent d8e824b548
commit 03e5c3ff54
2 changed files with 7 additions and 7 deletions

View file

@ -15,7 +15,7 @@ body.cloak,
.account-block {
text-decoration-thickness: 1.1em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
/* text-rendering: optimizeSpeed; */
filter: opacity(0.5);
}
.name-text *,

View file

@ -611,7 +611,7 @@
opacity: 0.2;
text-decoration-thickness: 1.5em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
/* text-rendering: optimizeSpeed; */
pointer-events: none;
user-select: none;
/* contain: layout; */
@ -622,7 +622,7 @@
text-decoration-color: inherit;
text-decoration-thickness: 1.5em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
/* text-rendering: optimizeSpeed; */
}
img {
@ -638,7 +638,7 @@
opacity: 0.2;
text-decoration-thickness: 1.5em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
/* text-rendering: optimizeSpeed; */
pointer-events: none;
user-select: none;
@ -646,7 +646,7 @@
text-decoration-color: inherit;
text-decoration-thickness: 1.5em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
/* text-rendering: optimizeSpeed; */
}
}
}
@ -670,7 +670,7 @@
color: inherit;
text-decoration-thickness: 1.5em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
/* text-rendering: optimizeSpeed; */
pointer-events: none;
user-select: none;
/* contain: layout; */
@ -680,7 +680,7 @@
* {
text-decoration-thickness: 1.5em;
text-decoration-line: line-through;
text-rendering: optimizeSpeed;
/* text-rendering: optimizeSpeed; */
}
img {