Selaa lähdekoodia

Improved comment.

dkonopka 6 vuotta sitten
vanhempi
commit
715b5a734c
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  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;
 }