fix cms shortcodes

This commit is contained in:
2023-09-30 21:15:23 +02:00
parent 8e259537f8
commit 7dfec0b3ed
9 changed files with 71 additions and 30 deletions

View File

@ -3,7 +3,7 @@ const Card = (child, opts = { vertical: false }) =>
"span",
{
className:
"relative flex border border-slate-400 focus-within:border-blue-800 dark:focus-within:border-blue-100 focus-within:bg-slate-100 dark:focus-within:bg-slate-800 hover:bg-slate-100 dark:hover:bg-slate-800 pb-3 cursor-text group/active top-3 bottom-3" +
"CMS_Card_root CMS_Field_root CMS_WidgetString_root CMS_WidgetString_required CMS_Field_cursor-text CMS_WidgetMarkdown_Paragraph_root" +
(opts.vertical ? " flex-col" : ""),
},
child