Преглед изворни кода

Merge branch 'master' into i/6521

Aleksander Nowodzinski пре 5 година
родитељ
комит
da296f5f67
1 измењених фајлова са 10 додато и 0 уклоњено
  1. 10 0
      packages/ckeditor5-table/theme/table.css

+ 10 - 0
packages/ckeditor5-table/theme/table.css

@@ -39,3 +39,13 @@
 		}
 	}
 }
+
+/* Text alignment of the table header should match the editor settings and override the native browser styling,
+when content is available outside the ediitor. See https://github.com/ckeditor/ckeditor5/issues/6638 */
+.ck-content[dir="rtl"] .table th {
+	text-align: right;
+}
+
+.ck-content[dir="ltr"] .table th {
+	text-align: left;
+}