some quick visual tweaks

This commit is contained in:
Brion Vibber 2011-02-28 12:50:26 -08:00
parent 2370208540
commit fb9418b99d
2 changed files with 26 additions and 0 deletions

View File

@ -223,6 +223,21 @@ class ThreadedNoticeListReplyItem extends NoticeListItem
$this->showEnd();
}
/**
* start a single notice.
*
* @return void
*/
function showStart()
{
if (Event::handle('StartOpenNoticeListItemElement', array($this))) {
$id = (empty($this->repeat)) ? $this->notice->id : $this->repeat->id;
$this->out->elementStart('li', array('class' => 'notice-reply',
'id' => 'notice-reply-' . $id));
}
}
function showMiniForm()
{
$replyToId = $this->notice->id;

View File

@ -1121,6 +1121,17 @@ border-top-style:solid;
width: 32px;
height: 32px;
}
.threaded-notices .notice-reply {
margin: 8px;
}
.threaded-notices .notice-reply textarea {
margin-left: 0;
width: 95%;
}
.threaded-notices .notice-reply input.submit {
text-align: right;
}
/* NOTICES */
#notices_primary {
float:left;