Skip to content

Commit da22dd1

Browse files
committed
update cookie consent banner and legal pages for vpat
1 parent 85dc7ad commit da22dd1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

client/modules/Legal/components/PolicyContainer.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ const PolicyContainerMain = styled.main`
1111
margin: 0 auto;
1212
padding: ${remSize(10)};
1313
line-height: 1.5em;
14+
word-break: break-word;
15+
overflow-wrap: anywhere;
1416
& p {
1517
margin-bottom: ${remSize(10)};
1618
}
1719
font-size: ${remSize(16)};
1820
& h1 {
1921
font-size: 2em;
22+
line-height: 1.2em;
2023
}
2124
& h2 {
2225
font-size: 1.5em;

client/modules/User/components/CookieConsent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function CookieConsent({ hide }) {
159159
}
160160
}, [cookieConsent]);
161161

162-
if (hide) return null;
162+
if (hide || cookieConsent !== 'none') return null;
163163

164164
return (
165165
<Transition in={inProp} timeout={500}>

0 commit comments

Comments
 (0)