summaryrefslogtreecommitdiff
path: root/public/css/markdown.css
diff options
context:
space:
mode:
authorWu Cheng-Han2016-01-12 08:01:42 -0600
committerWu Cheng-Han2016-01-12 08:01:42 -0600
commit2ecec3b59aabe2fd6156338cd4cbab7672d4f9b1 (patch)
treea27846db2e2e8d0ef1480893a8ad2b69dac36ad0 /public/css/markdown.css
parent1672df3dceebe885ded02530799a78d5a07be1d7 (diff)
Support show last change user with profile and support YAML config inside the note with robots, lang, dir, breaks options
Diffstat (limited to '')
-rw-r--r--public/css/markdown.css13
1 files changed, 12 insertions, 1 deletions
diff --git a/public/css/markdown.css b/public/css/markdown.css
index 6a98212a..f9009d58 100644
--- a/public/css/markdown.css
+++ b/public/css/markdown.css
@@ -36,7 +36,6 @@
text-align: right;
position: relative;
display: inline-block;
- float: right;
cursor: default;
z-index: 4;
padding: 0 8px 0 0;
@@ -89,6 +88,18 @@
.markdown-body .flow-chart {
margin-bottom: 40px;
}
+
+/*fixed style for rtl in pre and code*/
+
+.markdown-body[dir='rtl'] pre {
+ direction: ltr;
+}
+
+.markdown-body[dir='rtl'] code {
+ direction: ltr;
+ unicode-bidi: embed;
+}
+
svg {
width: 100%;
max-height: 70vh;