Skip to content

Commit 4890f92

Browse files
committed
Improve people section layout on mobile
Add the same 22px side padding used by the other sections, so the team content no longer touches the screen edges, and stack Daniel's photo above his description on screens up to 480px so the text uses the full width.
1 parent f9b0ce5 commit 4890f92

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

‎web/app/globals.css‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,18 @@ footer {
14981498
font-size: 10px;
14991499
}
15001500
.people-section {
1501-
padding: 40px 0;
1501+
padding: 40px 22px;
1502+
}
1503+
}
1504+
@media (max-width: 480px) {
1505+
.people-lead {
1506+
flex-direction: column;
1507+
gap: 16px;
1508+
}
1509+
.people-lead > img,
1510+
.people-lead > .person-initials {
1511+
width: 120px;
1512+
height: 145px;
15021513
}
15031514
}
15041515
@media (max-width: 380px) {
-130 KB
Binary file not shown.
26.9 KB
Loading

‎web/data/people.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
"linkKind": "source",
257257
"links": [],
258258
"current": true,
259-
"image": "/media/6eea5668ed4339492af8dccfeb71.jpg"
259+
"image": "/media/c027f0f43dae0025da44009eab5b.jpg"
260260
},
261261
{
262262
"id": "1b802c3839257923",

0 commit comments

Comments
 (0)