Commit 9472fb76 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix message width in inbox block (similar problem to bug #624587)

Signed-off-by: default avatarRichard Mansfield <>
parent a1f70320
{if !$items}
{str tag=nomessages section=blocktype.inbox}
<table id="inboxblock" class="fullwidth">
<table id="inboxblock" class="fullwidth fixwidth">
{foreach from=$items item=i}
<tr class="{cycle values='r0,r1'}">
<td class="icon-container">
......@@ -12,7 +12,7 @@
{if $i->message}
<a href="" class="inbox-showmessage{if !$i->read} unread{/if}">{$i->subject}</a>
<div class="inbox-message hidden" id="inbox-message-{$i->id}">{$i->message|safe}
<div class="inbox-message messagebody hidden" id="inbox-message-{$i->id}">{$i->message|safe}
{if $i->url}<br><a href="{$i->url}">{if $i->urltext}{$i->urltext} &raquo;{else}{str tag="more..."}{/if}</a>{/if}
{elseif $i->url}
......@@ -203,11 +203,11 @@ td.narrow {
#friendslist td {
border-bottom: 2px solid #FFF;
table#messagethread {
table.fixwidth {
table-layout: fixed;
/* table with preserved whitespace */
#messagethread .messagebody {
.messagebody {
white-space: pre-wrap;
overflow: auto;
{include file="header.tpl"}
{if $messages}
<table id="messagethread" class="fullwidth listing">
<table id="messagethread" class="fullwidth fixwidth listing">
{foreach from=$messages item=message}
<tr class="{cycle values='r0,r1'}">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment