Skip to content

Commit 842bbc5

Browse files
authored
docs: fix the display of the mobile menu. (#570)
Signed-off-by: yuluo-yx <[email protected]>
1 parent 8c3d707 commit 842bbc5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

website/src/components/ScrollToTop/styles.module.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
box-shadow: 0 8px 20px rgba(88, 166, 255, 0.5);
4646
}
4747

48-
@media (max-width: 768px) {
48+
@media (max-width: 996px) {
4949
.scrollToTop {
5050
bottom: 1.5rem;
5151
right: 1.5rem;
@@ -54,6 +54,15 @@
5454
}
5555
}
5656

57+
@media (max-width: 768px) {
58+
.scrollToTop {
59+
bottom: 5rem;
60+
right: 1rem;
61+
width: 45px;
62+
height: 45px;
63+
}
64+
}
65+
5766
.scrollToTop::before {
5867
content: '';
5968
position: absolute;

0 commit comments

Comments
 (0)