Skip to content

Commit

Permalink
Merge pull request #7443 from ckeditor/i/7418-hr-styles
Browse files Browse the repository at this point in the history
Other (horizontal-line): Improved the look of horizontal lines in the editor content. Closes #7418.

Internal (theme-lark): Code refactoring in styles related to the horizontal line feature (see #7418).
  • Loading branch information
oleq committed Jun 18, 2020
2 parents 878257e + fdc4cf4 commit e8bff81
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/ckeditor5-horizontal-line/theme/horizontalline.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}

.ck-content hr {
border-width: 1px 0 0;
border-style: solid;
border-color: hsl(0, 0%, 37%);
margin: 0;
margin: 15px 0;
height: 4px;
background: hsl(0, 0%, 87%);
border: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

.ck-editor__editable .ck-horizontal-line {
/* Helps selecting the horizontal rule widget by giving it some space. */
padding: 5px 0;
}
/*
* Note: This file should contain the wireframe styles only. But since there are no such styles,
* it acts as a message to the builder telling that it should look for the corresponding styles
* **in the theme** when compiling the editor.
*/

0 comments on commit e8bff81

Please sign in to comment.