From 87a6830292d003258fffec6927be6cfba2e3d862 Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Wed, 6 Nov 2024 10:28:50 +0000 Subject: [PATCH] Fix margins on contribute and Ask a Question --- src/components/HomepageAskAQuestion/styles.module.css | 8 ++++++++ src/components/HomepageContribute/styles.module.css | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/components/HomepageAskAQuestion/styles.module.css b/src/components/HomepageAskAQuestion/styles.module.css index 693587131..9392b37f0 100644 --- a/src/components/HomepageAskAQuestion/styles.module.css +++ b/src/components/HomepageAskAQuestion/styles.module.css @@ -5,6 +5,7 @@ border-radius: 2rem; color: black; overflow: hidden; + height: 100%; } html[data-theme='dark'] .item { @@ -13,6 +14,13 @@ html[data-theme='dark'] .item { border-radius: 2rem; color: white; overflow: hidden; + height: 100%; +} + +@media (max-width: 996px) { + .item { + margin-top: 2rem; + } } .item__inner { diff --git a/src/components/HomepageContribute/styles.module.css b/src/components/HomepageContribute/styles.module.css index 693587131..c21810a6e 100644 --- a/src/components/HomepageContribute/styles.module.css +++ b/src/components/HomepageContribute/styles.module.css @@ -5,6 +5,7 @@ border-radius: 2rem; color: black; overflow: hidden; + height: 100%; } html[data-theme='dark'] .item { @@ -13,6 +14,7 @@ html[data-theme='dark'] .item { border-radius: 2rem; color: white; overflow: hidden; + height: 100%; } .item__inner {