Jack000 / Expose

A simple static site generator for photoessays
MIT License
4.39k stars 257 forks source link

#main min-width of 830px causes horizontal scrolling #22

Open EnnoLangelotz opened 9 years ago

EnnoLangelotz commented 9 years ago

In global.css line 418 the min-width of 830px seems to be arbitrary, unless I am missing something. Taking it out seems to work fine and prevents horizontal scrolling on small screens.

Jack000 commented 9 years ago

I think there should be some kind of min-width, because at a certain point the sidebar gets to be a significant fraction of screen-width. Right now the minimum is about 1024px, but I guess it could be smaller.

Maybe 640px would be a better minimum?

EnnoLangelotz commented 9 years ago

Ok, so if the sidebar is the reason, would it make sense to apply a max-width to it instead? It seems more natural and avoids problems on smaller screens.