Fix carousel chevron links
Correct color, hide while disabled
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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%);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user