Shorten Subjects in Stats

CerealGuy

  • Posts: 317
Re: Shorten Subjects in Stats
« Reply #15,  »Last edited
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