From fa2e352c3763794006cb30c3036ebf9e5b08bcc4 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Oct 2022 03:35:51 +0200 Subject: Added support for rich comments --- themes/simple/layouts/partials/tailwind.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'themes/simple') diff --git a/themes/simple/layouts/partials/tailwind.html b/themes/simple/layouts/partials/tailwind.html index d226ade..616ab3a 100644 --- a/themes/simple/layouts/partials/tailwind.html +++ b/themes/simple/layouts/partials/tailwind.html @@ -142,11 +142,11 @@ } .cactus-container .cactus-comment .cactus-comment-avatar img { - @apply w-10 h-10 rounded-full; + @apply w-8 h-8 rounded-full; } .cactus-container .cactus-comment .cactus-comment-avatar-placeholder { - @apply w-10 h-10 rounded-full bg-gray-300; + @apply w-8 h-8 rounded-full bg-gray-300; } .cactus-container .cactus-comment .cactus-comment-header { @@ -161,6 +161,20 @@ @apply text-gray-400 text-sm; } + .cactus-container .cactus-comment .cactus-message-text code { + @apply bg-yellow-100 rounded px-2 py-1 text-xs font-medium; + } + + /* Unordered list */ + .cactus-container .cactus-comment .cactus-message-text ul { + @apply list-disc pl-2 md:pl-6; + } + + /* Ordered list */ + .cactus-container .cactus-comment .cactus-message-text ol { + @apply list-decimal pl-2 md:pl-6; + } + /* Cactus: Login */ .cactus-container .cactus-login-form-wrapper { @apply border mb-6 p-3 relative rounded; -- cgit v1.2.3