Skip to content

Commit 5f8cc5b

Browse files
Fix margins on contribute and Ask a Question (#155)
1 parent ad75ea7 commit 5f8cc5b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/components/HomepageAskAQuestion/styles.module.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
border-radius: 2rem;
66
color: black;
77
overflow: hidden;
8+
height: 100%;
89
}
910

1011
html[data-theme='dark'] .item {
@@ -13,6 +14,13 @@ html[data-theme='dark'] .item {
1314
border-radius: 2rem;
1415
color: white;
1516
overflow: hidden;
17+
height: 100%;
18+
}
19+
20+
@media (max-width: 996px) {
21+
.item {
22+
margin-top: 2rem;
23+
}
1624
}
1725

1826
.item__inner {

src/components/HomepageContribute/styles.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
border-radius: 2rem;
66
color: black;
77
overflow: hidden;
8+
height: 100%;
89
}
910

1011
html[data-theme='dark'] .item {
@@ -13,6 +14,7 @@ html[data-theme='dark'] .item {
1314
border-radius: 2rem;
1415
color: white;
1516
overflow: hidden;
17+
height: 100%;
1618
}
1719

1820
.item__inner {

0 commit comments

Comments
 (0)