From 0e53955e74d68e8ed646f9bb08b7ae28a6666d56 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 20 Mar 2025 11:18:39 +0100 Subject: [PATCH] fixing ol on editor gutenberg --- resources/css/admin-style.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/resources/css/admin-style.css b/resources/css/admin-style.css index a64e979..906d4c2 100644 --- a/resources/css/admin-style.css +++ b/resources/css/admin-style.css @@ -224,3 +224,22 @@ @apply bg-patrimoine-sante-securite; } } + +ol { + @apply list-decimal list-inside; + + /* font-family: 'Railway', sans-serif; */ + li { + list-style-type: decimal !important; + list-style-position: inside !important; + position: relative !important; + padding-left: 1.5em !important; + } + li:marker { + position: absolute !important; + left: 0 !important; + } + .block-editor-rich-text__editable { + display: inline-block !important; + } +}