# Les images ne s'ajustent pas à la largeur sur les appareils mobiles

**URL:** <https://meta.discourse.org/t/images-not-adjusting-to-the-width-on-mobile-devices/216921>\
**Category:** Product Support\
**Created:** [Février 3, 2022, 2:10 UTC](https://meta.discourse.org/t/images-not-adjusting-to-the-width-on-mobile-devices/216921 "2022-02-03T02:10:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [Février 4, 2022, 7:16 UTC](https://meta.discourse.org/t/images-not-adjusting-to-the-width-on-mobile-devices/216921/2 "2022-02-04T07:16:21Z")

</div>

Ce commit [eff0106efbf1cec02d46a13460fcd686591e64d8](https://github.com/discourse/discourse/commit/eff0106efbf1cec02d46a13460fcd686591e64d8) l’a modifié.

Vous pouvez le rétablir si vous le souhaitez. Ajoutez ce qui suit au css.

```scss
.cooked,
.d-editor-preview {
  img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji) {
    height: auto;
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/images-not-adjusting-to-the-width-on-mobile-devices/216921)._
