Fix carousel chevron links

Correct color, hide while disabled
This commit is contained in:
2026-04-22 08:30:55 +04:00
parent 7285ace882
commit 71939a30c3
2 changed files with 4 additions and 4 deletions

View File

@@ -135,7 +135,7 @@ export default class PlacePhotosCarousel extends Component {
disabled={{this.cannotScrollLeft}}
aria-label="Previous photo"
>
<Icon @name="chevron-left" />
<Icon @name="chevron-left" @color="currentColor" />
</button>
<button
@@ -146,7 +146,7 @@ export default class PlacePhotosCarousel extends Component {
disabled={{this.cannotScrollRight}}
aria-label="Next photo"
>
<Icon @name="chevron-right" />
<Icon @name="chevron-right" @color="currentColor" />
</button>
{{/if}}
</div>

View File

@@ -950,11 +950,11 @@ abbr[title] {
padding: 0;
}
.place-photos-carousel-wrapper:hover .carousel-nav-btn {
.place-photos-carousel-wrapper:hover .carousel-nav-btn:not(.disabled) {
opacity: 1;
}
.carousel-nav-btn:hover {
.carousel-nav-btn:not(.disabled):hover {
background: rgb(0 0 0 / 80%);
}