diff --git a/frontend/src/components/QuestionCard.astro b/frontend/src/components/QuestionCard.astro index 2438ac6..0f96e68 100644 --- a/frontend/src/components/QuestionCard.astro +++ b/frontend/src/components/QuestionCard.astro @@ -6,7 +6,7 @@ interface Props { const { question } = Astro.props; --- -
+
{question &&

{question}

}
@@ -18,9 +18,15 @@ const { question } = Astro.props; display: flex; border: 1px solid var(--sl-color-gray-5); background-color: var(--sl-color-black); - padding: clamp(1rem, calc(0.125rem + 3vw), 1rem); + padding: 0.5rem; flex-direction: column; gap: clamp(0.5rem, calc(0.125rem + 1vw), 1rem); overflow: auto; } + + @media only screen and (min-width: 768px) { + article { + padding: clamp(1rem, calc(0.125rem + 3vw), 1rem); + } + }