Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: always include dimensions on images #1405

Conversation

mfranzke
Copy link
Contributor

@mfranzke mfranzke commented Jan 2, 2022

We should advocate for good and performant HTML code, that should even already include dimensions for the browsers to be able to calculate it's dimensions and prevent recalculations of the design / redraw, page jumps, etc.

Summary of changes:

Added dimensions to most of the images.

@mfranzke mfranzke marked this pull request as draft January 2, 2022 12:43
@mfranzke mfranzke marked this pull request as ready for review January 2, 2022 21:02
@JosefBredereck JosefBredereck merged commit f30b21e into pattern-lab:dev Jan 6, 2022
@mfranzke mfranzke deleted the refactor/always-include-dimensions-on-images branch January 6, 2022 20:19
@JosefBredereck
Copy link
Contributor

PR was released with v5.16.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants