From: Samantha Doherty Date: Thu, 25 Aug 2011 21:14:13 +0000 (-0400) Subject: Update DirectionDetector style for 1.0 and move to base stylesheet. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2dd13b071c828af0b1004f50402cf9ed46f05c4c;p=quix0rs-gnu-social.git Update DirectionDetector style for 1.0 and move to base stylesheet. --- diff --git a/plugins/DirectionDetector/DirectionDetectorPlugin.php b/plugins/DirectionDetector/DirectionDetectorPlugin.php index be8dbea8e5..890af06807 100644 --- a/plugins/DirectionDetector/DirectionDetectorPlugin.php +++ b/plugins/DirectionDetector/DirectionDetectorPlugin.php @@ -42,15 +42,6 @@ class DirectionDetectorPlugin extends Plugin { return true; } - /** - * SN plugin API, here we will add css needed for modifiyed rendered - * - * @param Action $xml - */ - public function onEndShowStatusNetStyles($xml){ - $xml->element('style', array('type' => 'text/css'), 'span.rtl {display:block;direction:rtl;text-align:right;float:right;} .notice .author {float:left}'); - } - /** * is passed string a rtl content or not * diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 5b18772db8..5d65c14cc8 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1521,6 +1521,13 @@ font-size:150%; #content .notice-source-system div.entry-title { font-style: italic; min-height: 0; +} + +span.rtl { + display: block; + direction: rtl; + text-align: right; + float: right; } /* override OStatus plugin style */