0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/apps
Aileen Nowak 93ee19f36e 🐛 fix: make small media types not stretch (#7265)
no issue

Fixes a bug with displaying small media types like images or gif. Two reasons for that:
1. In many cases, we only have the relative URL instead of the absolute URL for the media source and therefore, `Amperize` module wasn't able to detect the image size and set the default image size of `width="600"` and `height="400"`.
2. Even if we have detected the correct image size, the attribute `layout="default"` would still make it strech. This issue is fixed in `Amperize`, but it wasn't merged at this time, so I set the dependency on my fork.

Adds `amp-anim` to the `.post-content` class, to have same CSS style as an image.
2016-08-25 11:09:25 +02:00
..
amp 🐛 fix: make small media types not stretch (#7265) 2016-08-25 11:09:25 +02:00
private-blogging Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
subscribers Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
dependencies.js Replace fs.exists (deprecated) with fs.stat 2015-03-17 11:49:43 -07:00
index.js deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
loader.js deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
permissions.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
proxy.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
sandbox.js deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00