From 9fbea956e0733b22aeed020c409109084bfe10dd Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 24 Nov 2023 00:55:36 +0100 Subject: [PATCH] style(site): fix call to action buttons on mobile --- site/src/components/call-to-action.html | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/site/src/components/call-to-action.html b/site/src/components/call-to-action.html index 4738cd5..6389e5d 100644 --- a/site/src/components/call-to-action.html +++ b/site/src/components/call-to-action.html @@ -26,19 +26,15 @@ text-decoration: none; width: 40%; } - - } - } - @media only screen and (max-device-width: 376px) { - .call-to-action { - flex-direction: column; - & a:not(#primary) { - padding: 0.5em; - } - } - +@media only screen and (max-device-width: 376px) { + .call-to-action { + flex-direction: column; + & a { + width: 100% !important; } + } +} \ No newline at end of file