Sfoglia il codice sorgente

Use `.ck-content` styles for the <hr> element`.

Damian Konopka 6 anni fa
parent
commit
813bb99821

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

@@ -3,14 +3,14 @@
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
  */
 
 
-.ck-content .ck-horizontal-rule {
+.ck .ck-horizontal-rule {
 	/* Handle proper `<hr>` display next to elements with `float` property, e.g. side image case. */
 	/* Handle proper `<hr>` display next to elements with `float` property, e.g. side image case. */
 	overflow: hidden;
 	overflow: hidden;
 
 
 	padding: 5px;
 	padding: 5px;
 }
 }
 
 
-.ck-content .ck-horizontal-rule hr {
+.ck-content hr {
 	border: 1px solid hsl(0, 0%, 77%);
 	border: 1px solid hsl(0, 0%, 77%);
 	margin: 0;
 	margin: 0;
 }
 }