Closed lsolesen closed 5 years ago
Looks like it has to do with the right sidebar. If you inspect it you can see it's pushing over into the main content column some, which pushes the feature row down.
When the right sidebar isn't being floated the feature row has enough room and fits.
Not sure what the fix is yet.
Duplicate of #2263
The answer is, if you want to use that in single
layout, you should look into gallery
instead. feature_row
is intended for splash layout.
It'll likely break other things but giving feature__wrapper
an inline style of display: inline-block
fixes the wrap with the sidebar.
@mmistakes Perhaps something like this would be helpful without breaking anything?
.layout--single .feature__wrapper {
display: inline-block;
}
Tried this in a few MM-themed sites, didn't notice any failure so far.
@iBug that change looks harmless to me if you want to submit a PR with the fix.
Extra space added when using a feature_row in layout
single
.Environment
Expected behavior
There should be no extra space in front of the feature row.
Steps to reproduce the behavior
See https://github.com/motionsplan/motionsplan-dk-jekyll/blob/gh-pages/_posts/2019-11-19-regler-styrkeloft.md
Which gives this result:
Other
It can be seen on the live site here: https://www.motionsplan.dk/powerlifting-rules/