]> cat aescling's git repositories - mastodon.git/commit
Avoid using JS to set height in MediaModal (#6750)
authorYuto Tokunaga <yuntan.sub1@gmail.com>
Mon, 12 Mar 2018 02:52:05 +0000 (11:52 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 12 Mar 2018 02:52:05 +0000 (03:52 +0100)
commitfa5c867e0ec426fc01653e9022ba29783b2a826f
treefa93c68e68496df73d76d54b016e78a8c126cda3
parent641abe2db7ac482dceffc8307af411e01c540951
Avoid using JS to set height in MediaModal (#6750)

avoid using JS to set height of ReactSwipeableViews component
reduce max-height of <img/> to 80% to avoid the screen covered by image
app/javascript/mastodon/features/ui/components/media_modal.js
app/javascript/styles/mastodon/components.scss