Browse Source

Changed the way toolbar items are spaced in RTL so developers using LTR UI will not need to update their integrations.

Aleksander Nowodzinski 6 years ago
parent
commit
791291fddc

+ 4 - 5
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css

@@ -19,17 +19,16 @@
 		margin-bottom: var(--ck-spacing-small);
 	}
 
-	@mixin ck-dir ltr {
-		& > * {
-			/* (#11) Separate toolbar items. */
-			margin-right: var(--ck-spacing-small);
-		}
+	& > * {
+		/* (#11) Separate toolbar items. */
+		margin-right: var(--ck-spacing-small);
 	}
 
 	@mixin ck-dir rtl {
 		& > * {
 			/* (#11) Separate toolbar items. */
 			margin-left: var(--ck-spacing-small);
+			margin-right: 0;
 		}
 	}