Fix: Scroll buttons opacity replaced by display:none

This commit is contained in:
Chneemann 2024-09-08 08:51:47 +02:00
parent 4cdf58142c
commit 1373b46898

View file

@ -16,6 +16,8 @@ section {
}
}
// Movies
.movie {
width: 213px;
height: 120px;
@ -37,8 +39,6 @@ section {
border: 2px solid $blue !important;
}
// Movies
.movies {
display: flex;
overflow-x: auto;
@ -52,19 +52,20 @@ section {
display: none;
}
// Scroll buttons
.scroll-buttons {
position: absolute;
top: 50%;
width: 100%;
display: flex;
opacity: 0;
display: none;
justify-content: space-between;
pointer-events: none;
transform: translateY(-50%);
}
.scroll-buttons.show {
opacity: 1; /* Sichtbar machen, wenn Klasse 'show' hinzugefügt wird */
display: flex;
}
.scroll-left,