From 1cb30689b2614fc32e61a5774359cf414722c52a Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 18 Jan 2024 15:49:56 +0100 Subject: [PATCH] refining responsive --- resources/css/blocks/tips-to-know.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/resources/css/blocks/tips-to-know.css b/resources/css/blocks/tips-to-know.css index 883a0b5..b87084f 100644 --- a/resources/css/blocks/tips-to-know.css +++ b/resources/css/blocks/tips-to-know.css @@ -1,14 +1,17 @@ .homegrade-blocks-tips-to-know { @apply pt-12 pb-4; + .section_titling { + @apply pb-0 md:pb-8; + } .section_titling__title { @apply mt-0; } &__tips-container { - @apply pt-5 grid lg:grid-cols-2 gap-x-10 gap-y-4 w-full; + @apply px-2 md:px-0 pt-5 lg:grid grid-cols-2 gap-x-10 gap-y-4 w-full; } &__tip { - @apply flex gap-6; + @apply mb-8 md:mt-0 flex flex-col md:flex-row gap-6 gap-y-2; } &__tip-icon { @@ -28,4 +31,7 @@ &__tip-subtitle { @apply !my-0; } + .tip-content p { + word-break: break-word; + } }