Browse Source

Other: Fix SplitButton CSS.

Maciej Gołaszewski 8 years ago
parent
commit
f430c7987b

+ 1 - 0
packages/ckeditor5-ui/src/button/splitbuttonview.js

@@ -14,6 +14,7 @@ import KeystrokeHandler from '@ckeditor/ckeditor5-utils/src/keystrokehandler';
 import FocusTracker from '@ckeditor/ckeditor5-utils/src/focustracker';
 
 import arrowIcon from '@ckeditor/ckeditor5-core/theme/icons/low-vision.svg';
+
 import './../../theme/components/button/splitbutton.css';
 
 /**

+ 11 - 4
packages/ckeditor5-ui/theme/components/button/splitbutton.css

@@ -1,10 +1,17 @@
-// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
-// For licensing, see LICENSE.md or http://ckeditor.com/license
+/*
+ * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+.ck-splitbutton-dropdown {
+	&::after {
+		display: none;
+	}
+}
 
 .ck-splitbutton-arrow {
-	// padding-right: var(--ck-spacing-small);
+	padding-right: var(--ck-spacing-medium);
 
-	& svg  {
+	& svg {
 		width: 0;
 		min-width: 0;
 	}