Skip to content

Commit 67b72e8

Browse files
committed
fix: update CSS for improved layout and styling consistency
- Reintroduced max-width for MainContent to ensure proper alignment. - Changed text color in LeftColumn, RightColumn, and links to black for better readability. - Adjusted padding for CenterColumn and added media query for responsive design on smaller screens.
1 parent 6445ec8 commit 67b72e8

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

app/page.module.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,13 @@
278278
"center"
279279
"left"
280280
"right";
281-
max-width: 320px;
282281
margin-inline: auto;
282+
max-width: 320px;
283283
background-color: var(--color-paper);
284284
background-image: linear-gradient(var(--color-pink) 1px, transparent 1px),
285285
linear-gradient(90deg, var(--color-pink) 1px, transparent 1px);
286286
background-size: 40px 40px;
287+
padding-bottom: 80px;
287288
}
288289

289290
.LeftColumn {
@@ -293,21 +294,31 @@
293294
}
294295

295296
.LeftColumnLabel {
296-
color: var(--color-teal);
297+
color: black;
297298
}
298299

299300
.CenterColumn {
300301
background: none;
302+
padding-bottom: 0;
301303
}
302304

303305
.RightColumn {
304306
position: static;
305307
height: auto;
306-
color: var(--color-teal);
308+
color: black;
307309
padding-block: 40px;
308310
}
309311

310312
.RightColumn a {
311-
color: var(--color-teal);
313+
color: black;
312314
}
313315
}
316+
317+
318+
@media (max-width: 420px) {
319+
.MainContent {
320+
width: 100%;
321+
max-width: none;
322+
justify-items: center;
323+
}
324+
}

0 commit comments

Comments
 (0)