Skip to content

Commit

Permalink
Remove unnecessary line-height property for .editor-rich-text-editable
Browse files Browse the repository at this point in the history
This line height can be inherited with no negative effects. Removing this allows for less specific rules, making editor styles a bit easier.
  • Loading branch information
kjellr committed Feb 14, 2019
1 parent c950473 commit eafac98
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/editor/src/components/rich-text/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
.editor-rich-text__editable {
margin: 0;
position: relative;
line-height: $editor-line-height;
// In HTML, leading and trailing spaces are not visible, and multiple spaces
// elsewhere are visually reduced to one space. This rule prevents spaces
// from collapsing so all space is visible in the editor and can be removed.
Expand Down

0 comments on commit eafac98

Please sign in to comment.