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 */