Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamically add the needed anselRow elements and handle special case.
Special case where we don't have enough images to finish a row, the scale ratio will stretch the images to fill the row, distorting them. Handle this by rescaling back to a maximum of maxHeight and let the browser do the proper width scaling.
- Loading branch information
Showing
2 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters