Skip to content

Commit 94faf29

Browse files
committed
clean up mobile view for download page
1 parent 57671ae commit 94faf29

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

assets/sass/pages/_download.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,13 @@
3535

3636
.image-section {
3737
position: relative;
38-
border-radius: 25px;
3938
margin-bottom: 20px;
40-
overflow: hidden;
39+
40+
img {
41+
display: inline-block;
42+
width: 100%;
43+
border-radius: 25px;
44+
}
4145

4246
h1 {
4347
position: absolute;
@@ -227,14 +231,14 @@
227231

228232
@media (max-width: variables.$screen-lg) {
229233
#download-page .download-section {
230-
grid-template-columns: 1fr 1fr;
234+
grid-template-columns: repeat(2, minmax(0, 1fr));
231235
}
232236
}
233237

234238
@media (max-width: variables.$screen-md) {
235239
#download-page {
236240
.download-section {
237-
grid-template-columns: 1fr 1fr;
241+
grid-template-columns: repeat(2, minmax(0, 1fr));
238242

239243
.download {
240244
.download-details,

0 commit comments

Comments
 (0)