File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 4
4
space ,
5
5
textSans14 ,
6
6
textSans17 ,
7
+ until ,
7
8
} from '@guardian/source/foundations' ;
8
9
import { Hide } from '@guardian/source/react-components' ;
9
10
import { palette } from '../../../palette' ;
@@ -13,6 +14,10 @@ export type TrailTextSize = 'regular' | 'large';
13
14
const trailTextStyles = css `
14
15
display : flex;
15
16
flex-direction : column;
17
+
18
+ ${ until . tablet } {
19
+ display : none;
20
+ }
16
21
` ;
17
22
18
23
const bottomPadding = css `
Original file line number Diff line number Diff line change 1
1
import { css } from '@emotion/react' ;
2
- import { from , space } from '@guardian/source/foundations' ;
2
+ import { from , space , until } from '@guardian/source/foundations' ;
3
3
import { Hide , SvgMediaControlsPlay } from '@guardian/source/react-components' ;
4
4
import { ArticleDesign , type ArticleFormat } from '../lib/articleFormat' ;
5
5
import { secondsToDuration } from '../lib/formatTime' ;
@@ -127,7 +127,6 @@ const immersiveOverlayContainerStyles = css`
127
127
* reduced.) The following article has more detail on non-linear gradients:
128
128
* https://css-tricks.com/easing-linear-gradients/
129
129
*/
130
-
131
130
const overlayMaskGradientStyles = ( angle : string ) => css `
132
131
mask-image : linear-gradient(
133
132
${ angle } ,
@@ -201,6 +200,10 @@ const starRatingWrapper = css`
201
200
202
201
const trailTextWrapper = css `
203
202
margin-top : ${ space [ 3 ] } px;
203
+
204
+ ${ until . tablet } {
205
+ display : none;
206
+ }
204
207
` ;
205
208
206
209
const videoPillStyles = css `
You can’t perform that action at this time.
0 commit comments