mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
93ee19f36e
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. |
||
---|---|---|
.. | ||
api | ||
apps | ||
config | ||
controllers | ||
data | ||
errors | ||
events | ||
helpers | ||
middleware | ||
models | ||
permissions | ||
routes | ||
scheduling | ||
storage | ||
translations | ||
utils | ||
views | ||
filters.js | ||
ghost-server.js | ||
i18n.js | ||
index.js | ||
overrides.js | ||
update-check.js |