Skip to content

Commit 49cd7ca

Browse files
author
ComputelessComputer
committed
make hero and footer full width within container
1 parent d5ceb4f commit 49cd7ca

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

apps/web/src/pages/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,15 @@ const features = [
147147
}
148148

149149
.hero-copy {
150-
max-width: 760px;
150+
max-width: 100%;
151151
justify-self: start;
152152
}
153153

154154
.hero-title {
155155
margin-bottom: 1.45rem;
156156
line-height: 1.03;
157157
font-size: clamp(1.8rem, 4vw, 3.2rem);
158-
max-width: 20ch;
158+
max-width: 100%;
159159
color: #2c2418;
160160
}
161161

apps/web/src/styles/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ nav .nav-links a:hover {
128128

129129
footer {
130130
margin-top: auto;
131+
max-width: var(--max-width);
132+
margin-left: auto;
133+
margin-right: auto;
134+
width: 100%;
131135
padding: var(--space-xl) clamp(1.25rem, 3.2vw, 2.9rem);
132136
border-top: 1px solid var(--color-border);
133137
background: #faf7f2;

0 commit comments

Comments
 (0)