We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d465b06 commit c5ca05eCopy full SHA for c5ca05e
dotcom-rendering/src/components/SlideshowCarousel.importable.tsx
@@ -56,7 +56,7 @@ const carouselItemStyles = css`
56
scroll-snap-align: start;
57
`;
58
59
-const carouselLinkStyles = css`
+const containerStyles = css`
60
position: relative;
61
z-index: ${getZIndex('card-nested-link')};
62
@@ -214,10 +214,9 @@ export const SlideshowCarousel = ({
214
const slideshowImageCount = slideshowImages.length;
215
216
return (
217
- <>
+ <div css={containerStyles}>
218
<a
219
href={linkTo}
220
- css={carouselLinkStyles}
221
aria-label={linkAriaLabel}
222
data-link-name={dataLinkName}
223
>
@@ -302,6 +301,6 @@ export const SlideshowCarousel = ({
302
301
</div>
303
304
)}
305
- </>
+ </div>
306
);
307
};
0 commit comments