From c8e405d93aebbb366790601b3d4a39abfc263e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sun, 26 Feb 2023 18:41:18 +0800 Subject: [PATCH] Fix inline tailwind styles not being applied --- app/assets/stylesheets/components/base.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/components/base.css b/app/assets/stylesheets/components/base.css index 6ea47c7..b4fa491 100644 --- a/app/assets/stylesheets/components/base.css +++ b/app/assets/stylesheets/components/base.css @@ -32,14 +32,22 @@ @apply pt-0; } - main p:not(:last-child) { + main p { @apply mb-4 leading-6; } - main ul:not(:last-child) { + main p:last-child { + @apply mb-0; + } + + main ul { @apply mb-6; } + main ul:last-child { + @apply mb-0; + } + main ul li { @apply leading-6; }