Skip to content

Commit 1fc7c53

Browse files
committed
Fix button arrangement on small screens
Signed-off-by: Steve Scargall <[email protected]>
1 parent 663589c commit 1fc7c53

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

themes/memmachine/assets/css/styles.css

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ header nav ul li a:hover {
365365
justify-content: center;
366366
margin: 32px 0 48px;
367367
}
368+
368369
.hero-chat {
369370
padding: 31px;
370371
margin-bottom: 96px;
@@ -1635,6 +1636,36 @@ footer p {
16351636
transform: translateX(-50%);
16361637
}
16371638
}
1639+
1640+
@media screen and (max-width: 800px) {
1641+
.hero-btn > div {
1642+
display: flex;
1643+
flex-direction: column;
1644+
gap: 16px;
1645+
align-items: center;
1646+
}
1647+
.hero-btn a {
1648+
margin: 0 !important;
1649+
width: 90vw;
1650+
max-width: 350px;
1651+
}
1652+
1653+
.ready-section {
1654+
display: flex;
1655+
flex-direction: column;
1656+
align-items: center;
1657+
}
1658+
.ready-section .btn {
1659+
margin: 0 !important;
1660+
width: 90vw;
1661+
max-width: 350px;
1662+
display: block;
1663+
}
1664+
.ready-section a.btn + a.btn {
1665+
margin-top: 16px !important;
1666+
}
1667+
}
1668+
16381669
@media screen and (max-width: 430px) {
16391670
.title {
16401671
font-size: 38px;
@@ -2067,4 +2098,4 @@ footer p {
20672098
font-family: serif;
20682099
line-height: 1;
20692100
pointer-events: none;
2070-
}
2101+
}

0 commit comments

Comments
 (0)