Closed pierlon closed 4 years ago
Number of styling issues here.
More weird styling issues on resize.
Some of the fixes for issues I have found are in #67
Changes made in https://github.com/xwp/unsplash-wp/pull/66/commits/55db1e637fe6507210ccb9e984998d48e5454703 undo a lot of what was changed before. The images have a set width and height so the browser can pre-render the layout and calculate the aspect ratio for each image.
This now has a conflict, that needs to be resolved and a unit test added.
Idea would performance be better, we force the images to load when the api response returns. Here is an example of a simple preload function.
Summary
Fixes UVP-169.
Checklist