summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-04-07 23:45:22 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-04-07 23:45:22 +0000
commita839daad2ecbf8430f518e8690cc509885973e82 (patch)
treee68facf1be49d34278eab95725e1df972c4edd86
parent79b1e3a488372065590700491320b9d3b0c74de4 (diff)
HTML br is not needed. Using 'clear' in CSS instead.
-rw-r--r--actions/showstream.php1
-rw-r--r--theme/base/css/display.css3
2 files changed, 3 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index cb40d1302..4181a2bab 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -345,7 +345,6 @@ class ShowstreamAction extends ProfileAction
$message .= sprintf(_('Why not [register an account](%%%%action.register%%%%) and then nudge %s or post a notice to his or her attention.'), $this->user->nickname);
}
- $this->element('br', array('clear' => 'both'));
$this->elementStart('div', 'guide');
$this->raw(common_markup_to_html($message));
$this->elementEnd('div');
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index 6c3c7e912..dfac7712a 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -1156,3 +1156,6 @@ margin-bottom:18px;
.help dt {
display:none;
}
+.guide {
+clear:both;
+}