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:
@@ -12,14 +12,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes slide-up {
|
.modal[data-entering] {
|
||||||
from {
|
animation: slide-in 250ms;
|
||||||
top: 100vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
.modal[data-exiting] {
|
||||||
top: 0;
|
animation: slide-in 250ms reverse;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay {
|
.overlay {
|
||||||
@@ -41,14 +39,6 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal[data-entering] {
|
|
||||||
animation: slide-up 300ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal[data-exiting] {
|
|
||||||
animation: slide-up 300ms reverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dialog {
|
.dialog {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
outline: none;
|
outline: none;
|
||||||
@@ -88,12 +78,4 @@
|
|||||||
width: var(--sidepeek-desktop-width);
|
width: var(--sidepeek-desktop-width);
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal[data-entering] {
|
|
||||||
animation: slide-in 250ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal[data-exiting] {
|
|
||||||
animation: slide-in 250ms reverse;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user