Parcourir la source

Improved comment.

dkonopka il y a 6 ans
Parent
commit
715b5a734c
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      packages/ckeditor5-horizontal-line/theme/horizontalrule.css

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

@@ -3,8 +3,9 @@
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
 
-.ck .ck-widget.ck-horizontal-rule {
-	/* Handle proper `<hr>` display next to elements with `float` property, e.g. side image case. */
+/* 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. */
 	overflow: hidden;
 }