Skip to content

Commit ff87f36

Browse files
authored
Merge pull request #5 from FireIsGood/fix-styles
Fix styles on pages causing layout issues
2 parents b1fdc3e + f413983 commit ff87f36

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/components/BlogPost.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const { url, title, description } = Astro.props;
2626
padding: 1em;
2727
gap: 1em;
2828
flex: 1;
29-
min-width: 300px;
29+
flex-basis: 300px;
3030
}
3131

3232
.blog-post-card .info span {

src/components/Member.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const { github, name } = Astro.props;
2929
padding: 1em;
3030
gap: 1em;
3131
flex: 1;
32-
min-width: 300px;
32+
flex-basis: 300px;
3333
}
3434

3535
.member-card .avatar {

src/pages/index.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ const members = await Astro.glob('../pages/members/*.md');
3333
margin: auto;
3434
padding: 1em;
3535
max-width: 1080px;
36-
width: 90vw;
37-
font-size: 20px;
36+
font-size: 1.25rem;
3837
line-height: 1.6;
3938
}
4039

0 commit comments

Comments
 (0)