Description[Local NTP] Fixing thumbnail aspect ratio, and store taller thumbnails.
Previously the local NTP thumbnails were stretched. We now make preserve
ratio preserved by setting height to "auto", but keep min-height to 100%
so if thumbnail is too short we won't see blank space.
To accommotate Material Design thumbnails, we make stored thumbnails
taller. In the thumbnail <iframe>, the extra height is hidden from view.
BUG=414878
Committed: https://crrev.com/f93d5878812464ccb22dde80d35234d37accc338
Cr-Commit-Position: refs/heads/master@{#295155}
Patch Set 1 #Patch Set 2 : Stretch thumbnail if too short. #
Messages
Total messages: 9 (2 generated)
|