From 4980f654a8bfc7118a927993107a7de41d42863a Mon Sep 17 00:00:00 2001 From: sarven Date: Sat, 24 Jan 2009 03:14:27 +0000 Subject: Notice search markup and style --- actions/noticesearch.php | 5 +++-- theme/base/css/display.css | 9 +++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 970d7cf88..a0d723b12 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -193,9 +193,7 @@ class NoticesearchAction extends SearchAction $this->elementEnd('a'); $this->elementEnd('dd'); $this->elementEnd('dl'); - $this->elementEnd('div'); - $this->elementStart('div', 'notice-options'); if ($notice->reply_to) { $replyurl = common_local_url('shownotice', array('notice' => $this->notice->reply_to)); @@ -208,6 +206,9 @@ class NoticesearchAction extends SearchAction $this->elementEnd('dd'); $this->elementEnd('dl'); } + $this->elementEnd('div'); + + $this->elementStart('div', 'notice-options'); $reply_url = common_local_url('newnotice', array('replyto' => $profile->nickname)); diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 367396338..17700e64e 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -374,7 +374,6 @@ margin-bottom:1em; #content { width:644px; -width:46em; padding:18px; float:left; border-radius:7px; @@ -391,11 +390,10 @@ float:left; } #aside_primary { -width:300px; -width:21.429em; +width:286px; float:left; margin-left:2px; -padding:18px 4px 18px 18px; +padding:18px; border-radius:7px; -moz-border-radius:7px; -webkit-border-radius:7px; @@ -661,8 +659,8 @@ content: ":"; } .section ul.entities { -width:280px; float:left; +width:100%; } .section .entities li { list-style-type:none; @@ -761,7 +759,6 @@ border-radius:4px; #notices_primary { float:left; width:644px; -width:46em; border-radius:7px; -moz-border-radius:7px; -webkit-border-radius:7px; -- cgit v1.2.3-54-g00ecf