chore(frontend): tweak selector to improve rendering performance
This commit is contained in:
parent
004cfd5e4b
commit
553ccff77c
|
@ -22,11 +22,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
|
||||||
color: var(--MI_THEME-fgOnAccent);
|
|
||||||
background-color: var(--MI_THEME-accent);
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
@ -89,6 +84,11 @@ html::view-transition-old(theme-changing) {
|
||||||
animation-fill-mode: forwards;
|
animation-fill-mode: forwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html::selection {
|
||||||
|
color: var(--MI_THEME-fgOnAccent);
|
||||||
|
background-color: var(--MI_THEME-accent);
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes themeChangingOld {
|
@keyframes themeChangingOld {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
Loading…
Reference in New Issue