Sfoglia il codice sorgente

Merge pull request #38 from ckeditor/t/ckeditor5/1151

Other: Adjusted blockquote content styles for better compatibility with RTL languages. See ckeditor/ckeditor5#1151.
Piotrek Koszuliński 6 anni fa
parent
commit
2c21a44156
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7 1
      packages/ckeditor5-block-quote/theme/blockquote.css

+ 7 - 1
packages/ckeditor5-block-quote/theme/blockquote.css

@@ -9,9 +9,15 @@
 
 
 	/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */
 	/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */
 	padding-right: 1.5em;
 	padding-right: 1.5em;
-
 	padding-left: 1.5em;
 	padding-left: 1.5em;
+
 	margin-left: 0;
 	margin-left: 0;
+	margin-right: 0;
 	font-style: italic;
 	font-style: italic;
 	border-left: solid 5px hsl(0, 0%, 80%);
 	border-left: solid 5px hsl(0, 0%, 80%);
 }
 }
+
+.ck-content[dir="rtl"] blockquote {
+	border-left: 0;
+	border-right: solid 5px hsl(0, 0%, 80%);
+}