Fix: Scroll buttons opacity replaced by display:none
This commit is contained in:
parent
4cdf58142c
commit
1373b46898
1 changed files with 6 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue