mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Prevent layout recalculations in some animations
This commit is contained in:
@@ -55,11 +55,12 @@
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
min-width: 24px;
|
||||
margin-left: -24px;
|
||||
margin-left: 12px;
|
||||
transform: translateX(-36px);
|
||||
vertical-align: text-bottom;
|
||||
border: none;
|
||||
opacity: 0;
|
||||
transition: margin-left $transition, opacity $transition;
|
||||
transition: transform $transition, opacity $transition;
|
||||
|
||||
&:disabled {
|
||||
cursor: default;
|
||||
@@ -68,7 +69,7 @@
|
||||
&--show {
|
||||
opacity: 1;
|
||||
margin-right: 6px;
|
||||
margin-left: 12px;
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
@include light-theme {
|
||||
|
||||
Reference in New Issue
Block a user