Skip to content

Commit 0296a47

Browse files
committed
style: fix unclickable bottom FAQs in mobile due to footer overlap
1 parent e8fbc84 commit 0296a47

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/styles/FAQ.css

+8-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,16 @@
6262
}
6363

6464
.faq-items-container {
65-
width: 70%;
66-
max-width: 70vw;
65+
width: 90%;
66+
max-width: 80vw;
6767
}
6868

69+
@media (min-width: 768px) {
70+
.faq-items-container {
71+
width: 70%;
72+
max-width: 70vw;
73+
}
74+
}
6975
.accordion-item {
7076
border-radius: 8px;
7177
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

src/styles/Footer.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
color: #1a1a1a;
44
margin-top: -400px;
55
font-family: Arial, sans-serif;
6+
margin-top: 0px;
67
}
78

89
.footer-content {
@@ -40,9 +41,6 @@
4041
}
4142

4243
@media (min-width: 768px) {
43-
.footer {
44-
margin-top: 0px;
45-
}
4644
.footer-columns {
4745
display: flex;
4846
flex-direction: row;

0 commit comments

Comments
 (0)