1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +01:00
phorge-phorge/webroot/rsrc/css/core
epriestley 32a42f37fe Set "max-width: 100%" on "size=full" Remarkup images
Summary: Fixes T5500. When an image is embedded with `{Fxx, size=full}`, add "max-width: 100%;" so that large images are scaled down to the size of the container. This seems like a better and more reasonable behavior than having them scroll. You can still lightbox them or right-click -> view if you really want the full image.

Test Plan: Dragged window around with a very large `size=full` image. At large window sizes, the image displayed at 100%. At smaller window sizes, the image was scaled to fit.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5500

Differential Revision: https://secure.phabricator.com/D9758
2014-06-27 10:29:43 -07:00
..
core.css Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
remarkup.css Set "max-width: 100%" on "size=full" Remarkup images 2014-06-27 10:29:43 -07:00
syntax.css Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
z-index.css Move typehaead dropdown up a few z-index levels 2014-06-24 20:21:27 -07:00