Long string of text without space would overflow out of the shoutbox and the block containing the shoutbox. The text overflows into main block. Theme is Garland.

As an example, try posting something like this as a shout message:

"http://drupal.org/project/issues/shoutbox?categories=support&states=all"

CommentFileSizeAuthor
#3 shoutboxbefore.PNG14.67 KBAxlen
#3 shoutboxafter.PNG15.9 KBAxlen

Comments

charly’s picture

yeah, i did notice this bug with shoutbox-4.7. The block width took 70% of the page width, leaving 30% for main contents. Pretty annoying. It should be possible to insert line break after x characters, but im not sure how to do it efficently.

disterics’s picture

Version: 5.x-1.0 » 5.x-1.x-dev
Component: User interface » Code
Assigned: Unassigned » disterics

Will look into this

Axlen’s picture

StatusFileSize
new15.9 KB
new14.67 KB

[EDIT 19 Mar 2008] This does not seem to work quite right with IE7. I'm working on a better solution

On possible way to fix this is to use add "overflow: auto;" to the odd and even div style tags in the shoutbox.css. This will add a horizontal scroll bar to blocks with long URL's or run-on text. If you don't like the scroll bar you could just use "overlfow: hidden;" instead.

e.g.

div.shoutbox-even {
  color : #000000;
  padding: 2px;
  background-color : #eee;
  width: 100%;
  overflow: auto;
}

div.shoutbox-odd {
  color : #000000;
  padding: 2px;
  background-color : #fff;
  width: 100%;
  overflow: auto;
}

Examples:

disterics’s picture

Status: Active » Fixed

This looks fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.