Bug 1589506 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

We [set](https://github.com/mozilla/pontoon/commit/01fd682246c2e63ab058bbbc632ea9b34dc70e48) `width` and `height` attributes on `img` elements in the History panel and the User menu to prevent the surrounding UI from jumping while the images are loading. We should do the same everywhere else in the app where we load images with avatars, because they have known height and width.

Please search for "<img" in the `frontend` and `pontoon` folders to find all the instances that need to be changed.

Notable **exceptions**:
- `translate.js`
- `in_context.html `
We [set](https://github.com/mozilla/pontoon/commit/01fd682246c2e63ab058bbbc632ea9b34dc70e48) `width` and `height` attributes on `img` elements in the History panel and the User menu to prevent the surrounding UI from jumping while the images are loading. We should do the same everywhere else in the app where we load images with avatars, because they have known height and width.

Then, we can also double the size of images for an improve experience on high DPI displays (e.g. Retina).

Please search for "<img" in the `frontend` and `pontoon` folders to find all the instances that need to be changed. Notable **exceptions**:
- `translate.js`
- `in_context.html `

Back to Bug 1589506 Comment 0