Merge pull request #240 from ebraminio/master

Better RTL support
This commit is contained in:
Athou
2013-06-02 10:41:51 -07:00
4 changed files with 13 additions and 4 deletions

View File

@@ -65,6 +65,10 @@ public class FeedUtils {
"sub", "sup", "table", "tbody", "td", "tfoot", "th",
"thead", "tr", "u", "ul");
whitelist.addAttributes("div", "dir");
whitelist.addAttributes("pre", "dir");
whitelist.addAttributes("code", "dir");
whitelist.addAttributes("table", "dir");
whitelist.addAttributes("a", "href", "title");
whitelist.addAttributes("blockquote", "cite");
whitelist.addAttributes("col", "span", "width");

View File

@@ -15,6 +15,10 @@
padding-left: 25px;
}
.rtl .entry-header, .rtl .entry-body-content, .rtl.entry-name {
direction: rtl;
}
#feed-accordion .entry {
border-bottom: 1px solid #CCCCCC;
}
@@ -85,6 +89,10 @@
display: block;
}
#feed-accordion .entry-header {
max-width: 650px;
}
#feed-accordion .entry-body-content {
max-width: 650px;
color: black;

View File

@@ -6,10 +6,6 @@
display: block;
}
.rtl {
direction: rtl;
}
.bs-fb ul {
margin-bottom: 0px;
}

View File

@@ -144,6 +144,7 @@ h3 small{font-size:14px;}
h4 small{font-size:14px;}
.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eeeeee;}
ul,ol{padding:0;margin:0 0 10px 25px;}
.rtl ul, .rtl ol{padding:0;margin:0 25px 10px 0px;}
ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
li{line-height:20px;}
ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}