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 44 space ,
55 textSans14 ,
66 textSans17 ,
7+ until ,
78} from '@guardian/source/foundations' ;
89import { Hide } from '@guardian/source/react-components' ;
910import { palette } from '../../../palette' ;
@@ -13,6 +14,10 @@ export type TrailTextSize = 'regular' | 'large';
1314const trailTextStyles = css `
1415 display : flex;
1516 flex-direction : column;
17+
18+ ${ until . tablet } {
19+ display : none;
20+ }
1621` ;
1722
1823const bottomPadding = css `
Original file line number Diff line number Diff line change 11import { css } from '@emotion/react' ;
2- import { from , space } from '@guardian/source/foundations' ;
2+ import { from , space , until } from '@guardian/source/foundations' ;
33import { Hide , SvgMediaControlsPlay } from '@guardian/source/react-components' ;
44import { ArticleDesign , type ArticleFormat } from '../lib/articleFormat' ;
55import { secondsToDuration } from '../lib/formatTime' ;
@@ -127,7 +127,6 @@ const immersiveOverlayContainerStyles = css`
127127 * reduced.) The following article has more detail on non-linear gradients:
128128 * https://css-tricks.com/easing-linear-gradients/
129129 */
130-
131130const overlayMaskGradientStyles = ( angle : string ) => css `
132131 mask-image : linear-gradient(
133132 ${ angle } ,
@@ -201,6 +200,10 @@ const starRatingWrapper = css`
201200
202201const trailTextWrapper = css `
203202 margin-top : ${ space [ 3 ] } px;
203+
204+ ${ until . tablet } {
205+ display : none;
206+ }
204207` ;
205208
206209const videoPillStyles = css `
You can’t perform that action at this time.
0 commit comments