mediawiki-extensions-Popups/.storybook
Thiemo Kreuz a01c31efd7 Show medium size (<320 wide, but >=250 high) images as well
The requirement for landscape images is to be at least 320px
wide. The requirement for portrait images is more relaxed,
only 250px high. Images that fall between these two
requirements currently don't show a thumbnail, even if they
could.

This change affects a very specific group of images:
* Square images from 250 x 250 to 319 x 319.
* Landscape images from 251 x 250 to 319 x 250.
* Landscape images from 319 x 250 to 319 x 318.

The most extreme ratio is 319 x 250. This will be cut to
203 x 250. I.e. the absolute extreme are 58px missing left
and right, but never more.

Requested at https://www.mediawiki.org/wiki/Topic:Vwl97pm6as9fuf6k

Additional stories for testing more extreme small images:
* Small Tall - 300x1000px
* Small Short - 300x200px

Update tests accordingly.

Bug: T268999
Change-Id: I811f1c0e7e9b0c30280b36a61cc7831a5b9e58c8
2021-08-03 13:17:06 -06:00
..
helpers Add reference previews to storybook 2021-07-22 23:59:26 +00:00
mocks Show medium size (<320 wide, but >=250 high) images as well 2021-08-03 13:17:06 -06:00
static/img Show medium size (<320 wide, but >=250 high) images as well 2021-08-03 13:17:06 -06:00
stories Show medium size (<320 wide, but >=250 high) images as well 2021-08-03 13:17:06 -06:00
main.js [Storybook] Upgrade Storybook to v6.2.9 2021-07-16 15:38:29 +00:00
README.md Publish storybook now we are using more modern node 2019-12-11 15:16:13 -08:00
storybook-resources.sh Remove the page preview icon hacks 2021-07-21 23:20:17 +00:00

StoryPops - Storybook for Popups

This "mini-project" contains all the dependencies and code to run a Storybook app (https://storybook.js.org/) for the Popups repository.