fix(LOY-243): adjust font-sizes in text and gap on container

This commit is contained in:
Christian Andolf
2025-06-09 17:21:03 +02:00
parent 7fdffb8e1d
commit d7579e88d6
3 changed files with 22 additions and 16 deletions

View File

@@ -15,7 +15,7 @@ export default function ChangeNameDisclaimer() {
return ( return (
<div className={styles.changeNameDisclaimer}> <div className={styles.changeNameDisclaimer}>
<MaterialIcon icon="info" /> <MaterialIcon icon="info" />
<Typography variant="Body/Paragraph/mdRegular"> <Typography variant="Body/Supporting text (caption)/smRegular">
<p> <p>
{intl.formatMessage( {intl.formatMessage(
{ {
@@ -25,24 +25,28 @@ export default function ChangeNameDisclaimer() {
{ {
phone([str]) { phone([str]) {
return ( return (
<Link <Typography variant="Body/Supporting text (caption)/smBold">
href={`tel:${str.replaceAll(" ", "")}`} <Link
textDecoration="underline" href={`tel:${str.replaceAll(" ", "")}`}
weight="bold" textDecoration="underline"
> size="none"
{str} >
</Link> {str}
</Link>
</Typography>
) )
}, },
email(str) { email(str) {
return ( return (
<Link <Typography variant="Body/Supporting text (caption)/smBold">
href={`mailto:${str}`} <Link
textDecoration="underline" href={`mailto:${str}`}
weight="bold" textDecoration="underline"
> size="none"
{str} >
</Link> {str}
</Link>
</Typography>
) )
}, },
} }

View File

@@ -2,7 +2,7 @@
background-color: var(--Main-Grey-White); background-color: var(--Main-Grey-White);
border-radius: var(--Corner-radius-lg); border-radius: var(--Corner-radius-lg);
display: grid; display: grid;
gap: var(--Space-x3); gap: var(--Space-x4);
padding: var(--Space-x2) var(--Space-x2) var(--Space-x4); padding: var(--Space-x2) var(--Space-x2) var(--Space-x4);
} }
@@ -47,6 +47,7 @@
.container { .container {
padding: var(--Space-x3) var(--Space-x3) var(--Space-x4); padding: var(--Space-x3) var(--Space-x3) var(--Space-x4);
gap: var(--Space-x3);
} }
} }

View File

@@ -19,6 +19,7 @@ export const linkVariants = cva(styles.link, {
small: styles.small, small: styles.small,
regular: styles.regular, regular: styles.regular,
tiny: styles.tiny, tiny: styles.tiny,
none: "",
}, },
textDecoration: { textDecoration: {
underline: styles.underline, underline: styles.underline,