@@ -40,7 +40,6 @@ import { Island } from '../Island';
40
40
import { LatestLinks } from '../LatestLinks.importable' ;
41
41
import { LoopVideo } from '../LoopVideo.importable' ;
42
42
import { Pill } from '../Pill' ;
43
- import { Slideshow } from '../Slideshow' ;
44
43
import { SlideshowCarousel } from '../SlideshowCarousel.importable' ;
45
44
import { Snap } from '../Snap' ;
46
45
import { SnapCssSandbox } from '../SnapCssSandbox' ;
@@ -806,42 +805,31 @@ export const Card = ({
806
805
imageType = { media . type }
807
806
imagePositionOnDesktop = { imagePositionOnDesktop }
808
807
imagePositionOnMobile = { imagePositionOnMobile }
809
- hideImageOverlay = {
810
- media . type === 'slideshow' && isFlexibleContainer
811
- }
808
+ hideImageOverlay = { media . type === 'slideshow' }
812
809
padImage = { isMediaCardOrNewsletter && isBetaContainer }
813
810
isBetaContainer = { isBetaContainer }
814
811
>
815
- { media . type === 'slideshow' &&
816
- ( isFlexibleContainer ? (
817
- < div
818
- css = { css `
819
- position : relative;
820
- z-index : ${ getZIndex (
821
- 'card-nested-link' ,
822
- ) } ;
823
- ` }
812
+ { media . type === 'slideshow' && (
813
+ < div
814
+ css = { css `
815
+ position : relative;
816
+ z-index : ${ getZIndex ( 'card-nested-link' ) } ;
817
+ ` }
818
+ >
819
+ < Island
820
+ priority = "feature"
821
+ defer = { { until : 'visible' } }
824
822
>
825
- < Island
826
- priority = "feature"
827
- defer = { { until : 'visible' } }
828
- >
829
- < SlideshowCarousel
830
- images = { media . slideshowImages }
831
- imageSize = { imageSize }
832
- hasNavigationBackgroundColour = {
833
- ! ! hasSublinks
834
- }
835
- />
836
- </ Island >
837
- </ div >
838
- ) : (
839
- < Slideshow
840
- images = { media . slideshowImages }
841
- imageSize = { imageSize }
842
- isDynamo = { isDynamo }
843
- />
844
- ) ) }
823
+ < SlideshowCarousel
824
+ images = { media . slideshowImages }
825
+ imageSize = { imageSize }
826
+ hasNavigationBackgroundColour = {
827
+ ! ! hasSublinks
828
+ }
829
+ />
830
+ </ Island >
831
+ </ div >
832
+ ) }
845
833
{ media . type === 'avatar' && (
846
834
< AvatarContainer
847
835
imageSize = { imageSize }
0 commit comments