Skip to content

Commit

Permalink
Fixes slider buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Scheele committed Oct 16, 2024
1 parent 042d863 commit f40a98f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions assets/component-slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ quick-add-modal .slider.slider--mobile .slider__slide,
scroll-snap-align: center;
}

quick-add-modal .slider--mobile + .slider-buttons {
display: flex;
}

@media screen and (min-width: 990px) {
.slider-component-desktop.page-width {
max-width: none;
Expand Down Expand Up @@ -320,7 +324,7 @@ quick-add-modal .slider.slider--mobile .slider__slide,
justify-content: center;
}

/*

@media screen and (min-width: 990px) {
.slider:not(.slider--everywhere):not(.slider--desktop) + .slider-buttons {
display: none;
Expand All @@ -337,7 +341,7 @@ quick-add-modal .slider.slider--mobile .slider__slide,
.slider--mobile + .slider-buttons {
display: none;
}
} */
}

.slider-button {
color: rgba(var(--color-foreground), 0.75);
Expand Down

0 comments on commit f40a98f

Please sign in to comment.