Skip to content

Commit 1bdfd0a

Browse files
committed
fix: center align buttons and prevent horizontal scroll on mobile
Signed-off-by: sarbojitrana <[email protected]>
1 parent 77f4d01 commit 1bdfd0a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

css/main.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4055,8 +4055,7 @@ html.no-csstransitions .home-content__main {
40554055
margin-bottom: 40px;
40564056
}
40574057

4058-
/* ---FIX FOR ISSUE #3294: Responsive Layout--- */
4059-
4058+
/* ---FIX FOR ISSUE #3294--- */
40604059
@media only screen and (max-width: 900px) {
40614060

40624061
.home-social {
@@ -4067,7 +4066,6 @@ html.no-csstransitions .home-content__main {
40674066
display: flex;
40684067
justify-content: center;
40694068
align-items: center;
4070-
40714069
width: 100%;
40724070
margin-top: 3rem;
40734071
padding: 0;
@@ -4080,9 +4078,17 @@ html.no-csstransitions .home-content__main {
40804078
.home-content {
40814079
padding-right: 0 !important;
40824080
text-align: center;
4083-
width: 100%;
40844081
}
40854082

4083+
.home-content__buttons {
4084+
display: flex;
4085+
flex-direction: column;
4086+
align-items: center;
4087+
justify-content: center;
4088+
width: 100%;
4089+
gap: 1rem;
4090+
}
4091+
40864092
.home-content h1 {
40874093
font-size: clamp(2rem, 5vw, 4rem);
40884094
}

0 commit comments

Comments
 (0)