niklasbuschmann / contrast

Jekyll Theme

Home Page:https://niklasbuschmann.github.io/contrast/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

post navigation floating issue on small screens

bahnfrei opened this issue · comments

commented

Hi Niklas,

the latest change has a bad effect on post navigation floating on small screens:

623840a
Screenshot 2020-03-18 at 21 02 47

vs.

3edaa05
Screenshot 2020-03-18 at 21 03 38

Best regards, Michi.

The main issue is here that the right-alignment only makes sense when the divs don't break and css seems to have no ability to set the alignment based on this condition, but I might be wrong here.

So I decided to let the divs always break on small screens and give them half width and alignment otherwise.

I hope this works for you, but I'm open for other solutions.

commented

it could do the trick ;-) i'm not aware of other possible solutions...

thank you!