Bullets and dropdown are not aligned when used together in the post

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 Like

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 Like

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 Likes

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

3 Likes

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