Improve icon render performance

Probably.
This commit is contained in:
Tetrakern 2023-06-07 16:54:02 +02:00
parent 184c292816
commit 509a627064
3 changed files with 9 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -580,6 +580,7 @@ html:not(.logged-in) body:not(.logged-in) {
color: var(--fg-600);
font-size: var(--fs-s);
text-align: center;
content-visibility: auto;
&._text {
height: auto;
@ -680,6 +681,12 @@ html:not(.logged-in) body:not(.logged-in) {
transform: translateZ(0); // Improve performance
}
.icon,
.fa-solid,
.fa-regular {
contain: style paint; // Improve performance
}
.list-button {
color: var(--fg-900);
font-size: var(--fs-s);