From 52964e2ecad2db74a26f86bf111be27754a4cca0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 16 Dec 2020 20:52:45 +0000 Subject: [PATCH] Improve note styling in dark mode --- .../custom/opdavies/assets/css/components/note.pcss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/themes/custom/opdavies/assets/css/components/note.pcss b/web/themes/custom/opdavies/assets/css/components/note.pcss index 85e5f67..41537b4 100644 --- a/web/themes/custom/opdavies/assets/css/components/note.pcss +++ b/web/themes/custom/opdavies/assets/css/components/note.pcss @@ -1,11 +1,11 @@ .note { - @apply bg-blue-200 border-blue-600 border-l-4 mb-4 p-4 rounded; + @apply max-w-full prose bg-blue-200 border-blue-600 border-l-4 mb-4 p-4 rounded dark:prose-dark; - > *:not(:first-child) { - @apply mt-6 + * { + @apply dark:text-gray-700 } p a { - @apply text-black underline hover:no-underline + @apply underline hover:no-underline } }