fix: align styles

This commit is contained in:
Arvid Norlin
2024-04-22 14:55:47 +02:00
parent 7b92be973c
commit b12ccfafef
11 changed files with 35 additions and 103 deletions
@@ -1,20 +1,29 @@
.cardContainer {
.container {
display: grid;
gap: 4px;
gap: 1.5rem;
}
.header {
display: flex;
justify-content: space-between;
}
.title {
font-weight: 600;
}
.subtitle {
margin: 0;
font-size: 2rem;
}
.value {
color: var(--some-red-color, #ed2027);
}
.cardContainer {
display: grid;
gap: 4px;
}
.cardSubtitle {
font-family: var(--ff-fira-sans);
font-size: 12px;
@@ -21,9 +21,9 @@ export default async function CurrentBenefitsBlock({
const benefits = await serverClient().user.benefits.current()
return (
<section>
<section className={styles.container}>
<header className={styles.header}>
<Title as="h4" level="h2" className={styles.title} uppercase>
<Title as="h3" level="h2" className={styles.title} uppercase>
{title}
</Title>
{link && (