Styling of lists in callouts

What I’m trying to do

I want to reduce the left padding of lists in callouts in the editor mode.

Things I have tried

I created acss file with the following content:

.callout li {
    #margin-left: 0;
    #padding-left: 0;
}

This reduced the padding in the preview mode, but didn’t change anything in the editor mode.

Any ideas how I can solve this?

It depends on a few things things, but you could give this a try:

.callout :is(.markdown-rendered ul, .markdown-rendered ol) {
    padding-inline-start: 1.2em;
}
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.