Ver código fonte

Added some vertical margin to toolbar separators.

Aleksander Nowodzinski 5 anos atrás
pai
commit
876c61301a

+ 7 - 2
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css

@@ -17,9 +17,14 @@
 		align-self: stretch;
 		width: 1px;
 		min-width: 1px;
-		margin-top: 0;
-		margin-bottom: 0;
 		background: var(--ck-color-toolbar-border);
+
+		/*
+		 * These margins make the separators look better in balloon toolbars (when aligned with the "tip").
+		 * See https://github.com/ckeditor/ckeditor5/issues/7493.
+		 */
+		margin-top: var(--ck-spacing-small);
+		margin-bottom: var(--ck-spacing-small);
 	}
 
 	& > .ck-toolbar__items {