Les puces et la liste déroulante ne sont pas alignées lorsqu'elles sont utilisées ensemble dans la publication

If we use bullets and Hide details options one by one, they do not get aligned which makes a post look untidy:

Is there anything that can be done about it?

1 « J'aime »

Hey Helga :slight_smile:

Unless I misunderstood, this is the normal behavior:

Lists always have a left margin padding by default, and having a Hide details or any other element next to it doesn’t change anything.

1 « J'aime »

Got it, thank you, @Canapin!

Can we set a left margin for a Hide details maybe? :slight_smile:

The CSS using the same padding as a list would be:

.cooked, .d-editor-preview {
    details {
        padding-left: 1.25em;
    }
}

image

:slight_smile:

2 « J'aime »

Wow, thanks a million! You’re a star! :heart_eyes:

3 « J'aime »

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