Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix padding on homepage and customer page and small fixes #1052

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.wrapper {
display: flex;
flex-direction: column;
margin: 4rem 0rem;
margin: 5rem 0rem;
align-items: center;
justify-content: center;

@media (max-width: 1024px) {
margin: 2rem 0rem;
@media (max-width: 834px) {
margin: 3rem 0rem;
}
}

Expand Down Expand Up @@ -68,5 +68,5 @@
.sectionsWrapper {
display: flex;
flex-direction: column;
gap: 4.5rem;
gap: 6rem;
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function StackedHighlights({ section, blockColor }: ResultsBlockProps) {
{section.quote?.map((quote) => (
<div className={styles.highlightCard} key={quote._key}>
<div className={styles.innerContent}>
<Text type="h2">{quote.quoteText}</Text>
<Text type="h3">{quote.quoteText}</Text>
<p className={styles.subtitle}>{quote.quoteAuthor}</p>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/sections/contact-box/contact-box.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
padding: 0;
width: 100%;
max-width: var(--max-content-width-large);
padding: 2.25rem 0rem;
}

.contactBox__inner {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function CustomerCasesEntry({ language, section }: CustomerCasesProps) {

return (
customerCaseResult && (
<>
<div className={styles.firstWrapper}>
<div className={styles.titleWrapper}>
<Text type="h3" className={styles.title}>
{section.basicTitle}
Expand All @@ -56,7 +56,7 @@ async function CustomerCasesEntry({ language, section }: CustomerCasesProps) {
language={language}
customerCasePageSlug={customerCasePageSlug}
/>
</>
</div>
)
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.firstWrapper {
padding-top: 5rem;
}

.container {
container-type: inline-size;
container-name: customer-case-container;
Expand Down
3 changes: 2 additions & 1 deletion src/components/sections/generosity/generosity.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
justify-content: center;
align-items: flex-start;
max-width: var(--max-content-width-large);
margin: 5rem auto;
margin: 0 auto;
padding: 5rem 0;
gap: 2rem;
color: var(--text-primary);
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/sections/hero/hero.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
display: flex;
flex-direction: column;
overflow: hidden;
padding: var(--padding-l) 0rem;
padding: 5rem 0;

@media (max-width: 834px) {
padding: var(--padding-l) 0rem;
padding: 5rem 0rem;
}

@media (max-width: 425px) {
Expand All @@ -23,8 +23,8 @@
.secondary {
composes: shared;
align-self: center;
padding: var(--padding-xl) var(--padding-rem);
gap: var(--padding-rem);
padding: 0 var(--padding-rem);

@media (max-width: 834px) {
padding: var(--padding-l) var(--padding-s);
Expand Down
3 changes: 2 additions & 1 deletion src/components/sections/learning/learning.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
justify-content: center;
align-items: flex-start;
max-width: var(--max-content-width-large);
margin: 5rem auto;
margin: 0 auto;
padding: 5rem 0;
gap: 2rem;
}

Expand Down
3 changes: 2 additions & 1 deletion src/components/sections/openness/openness.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
justify-content: center;
align-items: flex-start;
max-width: var(--max-content-width-large);
margin: 5rem auto;
margin: 0 auto;
padding: 5rem 0;
gap: 2rem;
color: var(--text-primary);
}
Expand Down
Loading