Open waldyrious opened 6 years ago
Nice, do you have an example post with a full-width image in the body? So we can all confirm the exact issue and any potential solutions.
Sure. This is the one that prompted me to open the issue: https://blog.keep.network/zero-knowledge-proofs-zcash-and-ethereum-f6d89fa7cba8
Oh yeah, that's crazy. We should definitely add the option.
I thought I would try to take this, but the only thing that worked for me in your extension was header moving out of the way (in uptodate chrome & vivaldi).
So I think I'll keep using my simple stylus script to clear all the garbage:
.metabar, .u-fixed, .u-height44 {
display: none;
}
Anyway, this works for me in medium site to shrink image width to paragraph width and center it.
(does not work in above mentioned keep.network site as it uses different class names)
.graf-after--p {
width: 700px;
margin: 0px auto;
}
Besides the massive headers (#9), one of the things that often annoys me in Medium posts is the huge, full-width images in the body of the post.
I think scaling them down to reasonable sizes can be achieved by changing the
sectionLayout--fullWidth
class to have the same definitions as thesectionLayout--insetColumn
class, i.e.:It also helps to reduce the huge bottom margin in figure element: