Skip to content

Commit 0c6260b

Browse files
authored
Merge pull request #14243 from guardian/jm/new-sign-in-gate
refactor sign-in gate styles move signInGateContainer to shared and a…
2 parents 214292e + bbb1954 commit 0c6260b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

dotcom-rendering/src/components/SignInGate/gateDesigns/SignInGateAuxiaV1.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { InformationBox } from '../../InformationBox/InformationBox';
1717
import { GuardianTerms } from '../../Terms/Terms';
1818
import { trackLink } from '../componentEventTracking';
1919
import type { SignInGatePropsAuxia, TreatmentContentDecoded } from '../types';
20-
import { hideElementsCss, signInGateContainer } from './shared';
20+
import { hideElementsCss } from './shared';
2121

2222
const DividerWithOr = () => {
2323
return (
@@ -162,10 +162,19 @@ export const SignInGateAuxiaV1 = ({
162162
};
163163

164164
// --- Styling ---
165+
export const signInGateContainer = css`
166+
max-width: 617px;
167+
padding: ${space[4]}px 0 ${space[10]}px;
168+
169+
${from.desktop} {
170+
min-height: 600px;
171+
}
172+
`;
173+
165174
const topBar = css`
166175
display: flex;
167176
justify-content: space-between;
168-
padding: ${space[4]}px 0;
177+
padding: 0 0 ${space[4]}px;
169178
border-bottom: 1px solid ${palette.neutral[86]};
170179
`;
171180

@@ -219,7 +228,7 @@ const termsBox = css`
219228
`;
220229

221230
const createAccountText = css`
222-
${textSansBold15};
231+
${textSans15};
223232
color: ${palette.neutral[10]};
224233
225234
a {

0 commit comments

Comments
 (0)