소스 검색

Fix: Fix buttondropdown focus.

Maciej Gołaszewski 8 년 전
부모
커밋
07c02d0cdd
2개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      packages/ckeditor5-ui/theme/components/dropdown/buttondropdown.scss
  2. 1 0
      packages/ckeditor5-ui/theme/theme.scss

+ 12 - 0
packages/ckeditor5-ui/theme/components/dropdown/buttondropdown.scss

@@ -0,0 +1,12 @@
+// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+// For licensing, see LICENSE.md or http://ckeditor.com/license
+
+.ck-dropdown {
+	.ck-button-group {
+		.ck-button {
+			&:focus {
+				z-index: ck-z('default', 1);
+			}
+		}
+	}
+}

+ 1 - 0
packages/ckeditor5-ui/theme/theme.scss

@@ -12,6 +12,7 @@
 @import 'components/buttongroup';
 @import 'components/toolbar/toolbar';
 @import 'components/dropdown';
+@import 'components/dropdown/buttondropdown';
 @import 'components/list';
 @import 'components/label';
 @import 'components/editor';