File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ const Title = ({
146146} ) =>
147147 headingUrl ? (
148148 < a
149- css = { headerGridStyles }
150- href = { ` ${ headingUrl } /inpictures/all` }
149+ css = { [ headerGridStyles , headerLinStyles ] }
150+ href = { headingUrl }
151151 data-link-name = "section heading"
152152 >
153153 < h2 css = { headerStyles } > { title } </ h2 >
@@ -169,14 +169,17 @@ const headerGridStyles = css`
169169 }
170170` ;
171171
172+ const headerLinStyles = css `
173+ : hover {
174+ text- decor ation: underline;
175+ }
176+ ` ;
177+
172178const headerStyles = css `
173179 color : ${ palette ( '--onward-text' ) } ;
174180 ${ textSansBold17 } ;
175181 padding- botto m: ${ space [ 3 ] } px;
176182 padding- to p: ${ space [ 1 ] } px;
177- : hover {
178- text- decor ation: underline;
179- }
180183 ${ from . tablet } {
181184 ${ textSansBold20 } ;
182185 }
You can’t perform that action at this time.
0 commit comments