File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 3
3
from ,
4
4
space ,
5
5
textSansBold12 ,
6
+ until ,
6
7
width ,
7
8
} from '@guardian/source/foundations' ;
8
9
import type { ThemeButton } from '@guardian/source/react-components' ;
@@ -73,9 +74,12 @@ const navigationStyles = (hasBackgroundColour: boolean) => css`
73
74
display : flex;
74
75
align-items : center;
75
76
padding-top : ${ space [ 2 ] } px;
76
- background-color : ${ hasBackgroundColour
77
- ? palette ( '--slideshow-navigation-background' )
78
- : 'transparent' } ;
77
+
78
+ ${ until . tablet } {
79
+ background-color : ${ hasBackgroundColour
80
+ ? palette ( '--slideshow-navigation-background' )
81
+ : 'transparent' } ;
82
+ }
79
83
` ;
80
84
81
85
const buttonStyles = css `
@@ -218,7 +222,7 @@ export const SlideshowCarousel = ({
218
222
</ ul >
219
223
220
224
{ slideshowImageCount > 1 && (
221
- < div css = { [ navigationStyles ( hasNavigationBackgroundColour ) ] } >
225
+ < div css = { navigationStyles ( hasNavigationBackgroundColour ) } >
222
226
< div css = { scrollingDotStyles } >
223
227
< SlideshowCarouselScrollingDots
224
228
total = { slideshowImageCount }
You can’t perform that action at this time.
0 commit comments