### Steps to reproduce 1. Open #test:matrix.org 2. Open file panel 3. Check images ### Outcome #### What did you expect? Inline end (right) margin is not supposed to be added to them, according to the style rule structure. #### What happened instead? The margin is added to them, because of `:not([data-layout=bubble])` pseudo class. See: https://developer.mozilla.org/en-US/docs/Web/CSS/:not > The :not() pseudo-class has a number of quirks, tricks, and unexpected results that you should be aware of before using it. ### Operating system _No response_ ### Browser information _No response_ ### URL for webapp app.element.io ### Application version _No response_ ### Homeserver _No response_ ### Will you send logs? No