浏览代码

fix: direction issues

- setting (ol) element direction to rtl
- setting (code) element direction to ltr
Hassan Muhamad 5 年之前
父节点
当前提交
dc3a62706f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/page.css

+ 4 - 0
docs/page.css

@@ -70,9 +70,13 @@ body.rtl h3,
 body.rtl h4,
 body.rtl h4,
 body.rtl p,
 body.rtl p,
 body.rtl ul,
 body.rtl ul,
+body.rtl ol,
 body.rtl table {
 body.rtl table {
 	direction: rtl !important;
 	direction: rtl !important;
 }
 }
+body.rtl code {
+	direction: ltr !important;
+}
 
 
 a {
 a {
 	color: var(--color-blue);
 	color: var(--color-blue);