Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forum not displaying right

 
Cody Long
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason when i view a topic the page extends really far out to the right. It just started today. I was wondering if anyone else was having this issue. I am using Chrome in XP.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cody,

This happens for particular topics if someone uses a "code" block and enters code with really, really long lines. Are you seeing this on jsut certain threads, or on every page?
 
Cody Long
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only on certain threads, like this one.

So there is nothing wrong with what i am doing?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That thread was messed up because the code samples had some super long lines. I've edited the code to fix it somewhat, although it's still pretty wide. Still you should see an improvement. Anyway, it's not you -- it's just wide code.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed... this is an irritation of mine, when people don't bother looking at the code they've posted to see how it's screwing everything up :/
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we put some max height and width properties on the code blocks, with the right overflow, this would never be an issue (assuming code tags are used).
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, this should probably be done. At least put in an hscroll, although honestly I'd be happier if it was just cut off so people would be forced to format their code in a quasi-reasonable way.
 
Cody Long
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ernest Friedman-Hill wrote:That thread was messed up because the code samples had some super long lines. I've edited the code to fix it somewhat, although it's still pretty wide. Still you should see an improvement. Anyway, it's not you -- it's just wide code.


Yes, i do see an improvement. Thank you. And i agree that there should be a limit on the width of the code blocks. Personally i hate having lines that are longer that 100 characters, and i try to go alot less than that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic