Правки
This commit is contained in:
@@ -316,15 +316,15 @@ onUnmounted(() => {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
/* Transition — плавное появление */
|
||||
/* Transition — выезд справа для десктопа */
|
||||
.panel-enter-active,
|
||||
.panel-leave-active {
|
||||
transition: opacity 0.2s ease;
|
||||
transition: opacity 0.25s ease;
|
||||
}
|
||||
|
||||
.panel-enter-active .panel,
|
||||
.panel-leave-active .panel {
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
transition: transform 0.25s ease;
|
||||
}
|
||||
|
||||
.panel-enter-from,
|
||||
@@ -334,8 +334,7 @@ onUnmounted(() => {
|
||||
|
||||
.panel-enter-from .panel,
|
||||
.panel-leave-to .panel {
|
||||
opacity: 0;
|
||||
transform: scale(0.98);
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
/* На мобильных убираем transform из анимации - он ломает layout в iOS PWA */
|
||||
|
||||
Reference in New Issue
Block a user