We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2dd13b07 authored by Samantha Doherty's avatar Samantha Doherty

Update DirectionDetector style for 1.0 and move to base stylesheet.

parent f0443aff
...@@ -42,15 +42,6 @@ class DirectionDetectorPlugin extends Plugin { ...@@ -42,15 +42,6 @@ class DirectionDetectorPlugin extends Plugin {
return true; 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 * is passed string a rtl content or not
* *
......
...@@ -1523,6 +1523,13 @@ font-size:150%; ...@@ -1523,6 +1523,13 @@ font-size:150%;
min-height: 0; min-height: 0;
} }
span.rtl {
display: block;
direction: rtl;
text-align: right;
float: right;
}
/* override OStatus plugin style */ /* override OStatus plugin style */
#form_ostatus_connect.form_settings.dialogbox, #form_ostatus_sub.dialogbox { #form_ostatus_connect.form_settings.dialogbox, #form_ostatus_sub.dialogbox {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment