perf(core): remove expensive CSS transitions

This commit is contained in:
alistair3149 2022-04-30 18:04:19 -04:00
parent c74f1685d6
commit 4bacf2fff1
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 1 additions and 4 deletions

View file

@ -27,7 +27,7 @@
cursor: auto; // reset cursor pointer set by parent
opacity: 0;
pointer-events: none;
transition: @transition-opacity-quick, @transition-box-shadow-quick;
transition: @transition-opacity-quick;
.citizen-card;
a {

View file

@ -12,7 +12,6 @@
border-color: var( --border-color-base );
margin: 0;
background-color: var( --background-color-framed );
transition: @transition-margin, @transition-padding;
white-space: nowrap;
li {
@ -55,7 +54,6 @@
padding: @margin-side / 2 @margin-side;
border: 1px solid var( --border-color-base );
text-align: center;
transition: @transition-margin, @transition-padding;
}
}
@ -66,7 +64,6 @@
background-color: var( --background-color-framed );
font-size: smaller;
text-align: center;
transition: @transition-margin;
.mw-mmv-filepage-buttons {
display: flex;