Skip to content

Commit 4800bd4

Browse files
committed
Refactor heroBanner and socialLinks styles: clarify background property and improve mobile layout for social icons
1 parent cd85ece commit 4800bd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/pages/index.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
.heroBanner {
1+
.heroBanner {
22
padding: 5rem 1.5rem 6rem;
33
position: relative;
44
overflow: hidden;
55
display: flex;
66
flex-direction: column;
77
align-items: center;
8-
background: none; /* Remove gradient */
8+
background: none;
99
min-height: 80vh;
1010
}
1111

@@ -189,14 +189,14 @@
189189
}
190190

191191
.socialLinks {
192-
grid-template-columns: repeat(3, 1fr); /* 3 columns on mobile */
192+
grid-template-columns: repeat(3, 1fr); /* 3 columns on mobile so we can avoid the icons making a line break*/
193193
max-width: 300px;
194194
gap: 1rem;
195195
}
196196

197197
.socialLink {
198198
width: 60px;
199199
height: 60px;
200-
margin: 0 auto; /* Center the icons in their grid cells */
200+
margin: 0 auto;
201201
}
202202
}

0 commit comments

Comments
 (0)