ElkArte Community

Elk Development => Theme development => Topic started by: scripple on April 11, 2014, 09:44:38 pm

Title: Why are these min-width values set?
Post by: scripple on April 11, 2014, 09:44:38 pm
Why are these set?  I noticed they were causing my page to be too wide on 320px wide screens.  (I have a larger base font set in the body.)

Code: [Select]
@media screen and (max-width: 50em) {
  .board_row {
    min-width: 20em;
  }
}
And this
Code: [Select]
@media screen and (max-width: 33.750em) {
  .board_lastpost, .topic_lastpost {
    min-width: 18em;
  }
}
I removed them (which fixed my excess width problem) and looked on various smaller and larger screens in chrome's emulator and couldn't see them helping anything.
Title: Re: Why are these min-width values set?
Post by: emanuele on April 12, 2014, 03:14:00 am
IIRC it to maintain the "columns" aligned in case of "less" content (i.e. if you use short or no description, or if you don't have topics in the board, or if you have a topic with a very short subject and so on).
Title: Re: Why are these min-width values set?
Post by: scripple on April 12, 2014, 10:08:36 am
Ok.  I'll just make them smaller instead of removing them then.