Merged in fix/SW-3289-open-side-peek-from-side-mobile (pull request #2717)

fix(SW-3289): sidepeek opens from side on mobile

* fix(SW-3289): sidepeek opens from side on mobile


Approved-by: Anton Gunnarsson
This commit is contained in:
Bianca Widstam
2025-08-27 12:38:29 +00:00
parent e4a66499e5
commit 34135879a8

View File

@@ -12,14 +12,12 @@
}
}
@keyframes slide-up {
from {
top: 100vh;
}
.modal[data-entering] {
animation: slide-in 250ms;
}
to {
top: 0;
}
.modal[data-exiting] {
animation: slide-in 250ms reverse;
}
.overlay {
@@ -41,14 +39,6 @@
outline: none;
}
.modal[data-entering] {
animation: slide-up 300ms;
}
.modal[data-exiting] {
animation: slide-up 300ms reverse;
}
.dialog {
height: 100%;
outline: none;
@@ -88,12 +78,4 @@
width: var(--sidepeek-desktop-width);
height: 100vh;
}
.modal[data-entering] {
animation: slide-in 250ms;
}
.modal[data-exiting] {
animation: slide-in 250ms reverse;
}
}