mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Attempt to fix media modal next/prev buttons not working in Safari
This commit is contained in:
parent
8141513fa9
commit
d0bd257a8e
1 changed files with 8 additions and 4 deletions
12
src/app.css
12
src/app.css
|
@ -1112,10 +1112,6 @@ button.carousel-dot {
|
|||
.carousel-controls
|
||||
:is(.button, button).carousel-button:is(:hover, :focus):not(:active) {
|
||||
background-color: var(--bg-color);
|
||||
transform: scale(1.2);
|
||||
}
|
||||
.carousel-controls :is(.button, button).carousel-button:active {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
.carousel-top-controls .szh-menu-container {
|
||||
pointer-events: auto;
|
||||
|
@ -1166,6 +1162,14 @@ button.carousel-dot:is(.active, [disabled].active) .icon {
|
|||
transform: scale(0);
|
||||
/* transition: transform 0.2s ease-in-out; */
|
||||
}
|
||||
.carousel-controls
|
||||
:is(.button, button).carousel-button:is(:hover, :focus):not(:active) {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
.carousel-controls :is(.button, button).carousel-button:active {
|
||||
transition-duration: 0s;
|
||||
}
|
||||
|
||||
:is(.carousel-top-controls, .carousel-controls)[hidden] {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue