Shorten Subjects in Stats

CerealGuy

  • Posts: 343
Re: Shorten Subjects in Stats
« Reply #15, on June 11th, 2015, 11:43 PM »Last edited on June 12th, 2015, 12:16 AM
Pulling this one out again, but the fix wasn't the best thing to do.
Better would be to fix this thing via css.
Code: [Select]
dl.stats dt {
  clear: both;
  float: left;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 50%;
  height: 1.2em;
  white-space: nowrap;
}
But this needs an additional class for stats with diagrams. Will create a branch on github.

https://github.com/C3realGuy/wedge/tree/dev_statistics