fix(SW-2376): css specificity to fix carousel buttons position
Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
gap: var(--Spacing-x4) var(--Spacing-x1);
|
||||
}
|
||||
|
||||
.navigationButton {
|
||||
.carousel .navigationButton {
|
||||
top: 125px; /* Content card image has a fixed height of 250px, this centers the button */
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
.navigationButton {
|
||||
.carousel .navigationButton {
|
||||
top: 125px; /* Content card image has a fixed height of 250px, this centers the button */
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function CarouselCards({ carousel_cards }: CarouselCardsProps) {
|
||||
onFilterSelect={setActiveFilter}
|
||||
/>
|
||||
)}
|
||||
<Carousel key={activeFilter}>
|
||||
<Carousel key={activeFilter} className={styles.carousel}>
|
||||
<Carousel.Content>
|
||||
{filteredCards.map((card, index) => (
|
||||
<Carousel.Item key={`${card.heading}-${index}`}>
|
||||
|
||||
Reference in New Issue
Block a user