TinyPortal
Development => Feedback => Bugs/Errors => Topic started by: Satellite on September 21, 2006, 04:16:43 PM
As usual: TP 0.9.5 + SMF 1.1RC3 + Aero/Terra
If the frontpage is set up to displays posts from some boards, and posts contain long text (such as URLs), such text make the block unusually wide and break up page lay out.
Most of the time the horizontal scrollbar is not displayed, so the page looks like it is truncated (but you can scroll to the right bar using the arrow keys)
More info: this issue appears on Firefox, but not in IE.
IE splits the URL at the first "?" character, while Firefox displays the link on one row. It would be useful to have a horizontal scrollbar to handle this situation as the post viewer already has.
I had same issue...
Fixed it though...
Find This:
// render the text
echo '
<div style="_height: 1%; ' , (isset($story['options']['author']) || isset($story['options']['rating']) || isset($story['options']['date']) || $story['is_boardnews']) ? ' margin-top: 1ex;' : '' , '">';
Replace:
// render the text
echo '
<div style="_height: 1%; overflow: auto; ' , (isset($story['options']['author']) || isset($story['options']['rating']) || isset($story['options']['date']) || $story['is_boardnews']) ? ' margin-top: 1ex;' : '' , '">';
The div tag needed overflow setup to allow it to display correctly.
Thanks sleepy! :up: :up: :up:
I wonder whether this quick change will be integrated in the standard TP distribution, that would be great :)
It will. Added to TP 0.9.6. :)