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 paragraphs alignment in the About Us and Join Us pages #7467

Merged
merged 3 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
7 changes: 7 additions & 0 deletions _sass/components/_about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
}
}

// Align the paragraphs within the header container
.paragraphs-alignment {
p {
width: 100%;
}
}

// CSS Grid
.page-content-container-grid {
display: grid;
Expand Down
7 changes: 7 additions & 0 deletions _sass/components/_join-us.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Align the paragraphs within the header container
.paragraphs-alignment {
p {
width: 100%;
}
}

/*--------
| Mobile
----------*/
Expand Down
2 changes: 1 addition & 1 deletion pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
permalink: /about/
---
<!-- Header banner -->
<div class="header-container flex-container">
<div class="header-container flex-container paragraphs-alignment">
<div class="header-text">
<h1 class="title1">About Us</h1>
<p>We bring together civic-minded volunteers to build digital products,
Expand Down
2 changes: 1 addition & 1 deletion pages/join-us.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="join-us-wrapper">

<!-- Header banner -->
<div class="header-container flex-container">
<div class="header-container flex-container paragraphs-alignment">
<div class="header-text">
<h1 class="title1">Join Us</h1>
<p>
Expand Down