mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
chore(frontend): tweak selector to improve rendering performance
This commit is contained in:
@@ -22,11 +22,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: var(--MI_THEME-fgOnAccent);
|
||||
background-color: var(--MI_THEME-accent);
|
||||
}
|
||||
|
||||
html {
|
||||
overflow: auto;
|
||||
overflow-wrap: break-word;
|
||||
@@ -89,6 +84,11 @@ html::view-transition-old(theme-changing) {
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
html::selection {
|
||||
color: var(--MI_THEME-fgOnAccent);
|
||||
background-color: var(--MI_THEME-accent);
|
||||
}
|
||||
|
||||
@keyframes themeChangingOld {
|
||||
0% {
|
||||
opacity: 1;
|
||||
|
||||
Reference in New Issue
Block a user