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

**URL:** https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313
**Category:** Support
**Created:** [Mai 26, 2023, 11:49 UTC](https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313 "2023-05-26T11:49:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Helga\_Razinkova](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helga_razinkova/32/249626_2.png) [@Helga\_Razinkova](https://meta.discourse.org/u/Helga_Razinkova)
#### Post date: [Mai 26, 2023, 11:49 UTC](https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313/1 "2023-05-26T11:49:01Z")

</div>

Si nous utilisons les options de puces et de masquer les détails une par une, elles ne s’alignent pas, ce qui rend une publication désordonnée&nbsp;:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/5/5/95526a9cf3e28230f23276c9400cfd7320812b4d.png)

Y a-t-il quelque chose qui puisse être fait à ce sujet&nbsp;?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [Mai 26, 2023, 12:03 UTC](https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313/2 "2023-05-26T12:03:53Z")

</div>

Salut Helga 🙂

Sauf si j’ai mal compris, c’est le comportement normal :

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/3/f/63fc2cb608f0e9a5266890a7a487a3c68408b8bf.png)

Les listes ont toujours un retrait gauche par défaut, et avoir un « Masquer les détails » ou tout autre élément à côté ne change rien.

---

<div class="post-metadata">

### Author: ![Helga\_Razinkova](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helga_razinkova/32/249626_2.png) [@Helga\_Razinkova](https://meta.discourse.org/u/Helga_Razinkova)
#### Post date: [Mai 26, 2023, 12:07 UTC](https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313/3 "2023-05-26T12:07:55Z")

</div>

Compris, merci, @Canapin !

Pouvons-nous définir une marge gauche pour un “Masquer les détails” peut-être ? 🙂

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [Mai 26, 2023, 12:10 UTC](https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313/4 "2023-05-26T12:10:58Z")

</div>

Le CSS utilisant le même padding qu’une liste serait :

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

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/d/6/4d6c71b156cebddd7c2bb5ac538d3510ff8b88c8.png)

🙂

---

<div class="post-metadata">

### Author: ![Helga\_Razinkova](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helga_razinkova/32/249626_2.png) [@Helga\_Razinkova](https://meta.discourse.org/u/Helga_Razinkova)
#### Post date: [Mai 26, 2023, 12:15 UTC](https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313/5 "2023-05-26T12:15:54Z")

</div>

Wow, merci beaucoup ! Tu es une star ! 😍

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [Juin 25, 2023, 12:16 UTC](https://meta.discourse.org/t/bullets-and-dropdown-are-not-aligned-when-used-together-in-the-post/266313/6 "2023-06-25T12:16:40Z")

</div>

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