Skip to content

Commit fc383cf

Browse files
committed
fix: contributor grid
1 parent fe6e84b commit fc383cf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pages/wiki/index.astro

+5-5
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ if (!contributors) {
101101
Contribute today!
102102
</ExternalLink>
103103
</p>
104-
<div class="flex">
104+
<div class="grid">
105105
{
106106
contributors
107107
.filter((user) => !filteredContributors.includes(user.id))
@@ -192,11 +192,11 @@ if (!contributors) {
192192
}
193193

194194
#contributors {
195-
div.flex {
196-
display: flex;
195+
div.grid {
196+
display: grid;
197+
grid-template-columns: repeat(auto-fill, minmax(5em, 1fr));
197198
justify-content: space-evenly;
198199
align-items: center;
199-
flex-wrap: wrap;
200200
gap: 1em;
201201
margin: 0px 1em;
202202
}
@@ -211,7 +211,7 @@ if (!contributors) {
211211

212212
div.contributor {
213213
height: auto;
214-
width: 5.5em;
214+
width: 100%;
215215

216216
a,
217217
img {

0 commit comments

Comments
 (0)