From 7be33c3249f080f4813d9dcfc3040326c1278476 Mon Sep 17 00:00:00 2001 From: AssisrMatheus Date: Wed, 24 Feb 2021 12:35:04 -0300 Subject: [PATCH] feat: removing lists preflight --- src/index.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/index.css b/src/index.css index db89dd9..706dca5 100644 --- a/src/index.css +++ b/src/index.css @@ -1,6 +1,32 @@ @import './components/base'; @import './components'; +@layer base { + /* First, clears the prose styling because we want to bring back preflight styling */ + .prose { + ol, + ul { + list-style: none; + margin: 0; + padding: 0; + } + } + + /* Brings back preflight styling */ + ul, + ol { + @apply list-inside; + } + + ul { + @apply list-disc; + } + + ol { + @apply list-decimal; + } +} + html, body { @apply pui-font-family text-pui-paragraph-500;