Skip to content

Commit 367cfb1

Browse files
authored
go the fuck to bed simyon or i am going to find you and [gay talk] (#60)
1 parent d167c23 commit 367cfb1

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

ReplayBrowser/Pages/Contributors.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<h3>Contributors</h3>
1717

18-
<div style="display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: center; padding: 20px;">
18+
<div class="contributors-grid">
1919
@if (!_contributors.Any())
2020
{
2121
<h4 style="color: red">Error fetching contributors from the GitHub API</h4>

ReplayBrowser/wwwroot/app.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,23 @@ p {
6363
justify-content: center;
6464
align-items: center;
6565
height: 100%; /* Adjust this value according to your needs */
66+
}
67+
68+
.contributors-grid {
69+
display: grid;
70+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
71+
gap: 10px;
72+
align-items: center;
73+
padding: 20px;
74+
}
75+
76+
@media only screen and (max-width: 300px) {
77+
.contributors-grid {
78+
display: grid;
79+
grid-template-columns: repeat(1, minmax(0, 1fr));
80+
/*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
81+
gap: 10px;
82+
align-items: center;
83+
padding: 20px;
84+
}
6685
}

0 commit comments

Comments
 (0)