Browse Source

Code refactoring.

Aleksander Nowodzinski 6 years ago
parent
commit
53e9e3ad19
1 changed files with 2 additions and 3 deletions
  1. 2 3
      packages/ckeditor5-horizontal-line/theme/horizontalrule.css

+ 2 - 3
packages/ckeditor5-horizontal-line/theme/horizontalrule.css

@@ -3,9 +3,8 @@
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
 
-/* This is a `.ck-widget` element, but we try to use 020 CSS specificity, that's why we omitted it in below CSS ruleset. */
-.ck .ck-horizontal-rule {
-	/* Adding hidden overflow to the `ck-widget` to properly display it next to the`float` property, e.g. side image case. */
+.ck-editor__editable .ck-horizontal-rule {
+	/* Necessary to render properly next to floated objects, e.g. side image case. */
 	overflow: hidden;
 }