Skip to content

Commit

Permalink
RichText: remove obsolete rule from stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Feb 14, 2019
1 parent bd6b68e commit 59f1ef0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions packages/editor/src/components/rich-text/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,10 @@
// to be saved.
white-space: pre-wrap;

> p:empty {
min-height: $editor-font-size * $editor-line-height;
}

> p:first-child {
margin-top: 0;
}

&:focus {
outline: none;
}

a {
color: $blue-medium-700;
}
Expand All @@ -49,6 +41,9 @@
}

&:focus {
// Removes outline added by the browser.
outline: none;

*[data-rich-text-format-boundary] {
border-radius: 2px;
box-shadow: 0 0 0 1px $light-gray-400;
Expand Down

0 comments on commit 59f1ef0

Please sign in to comment.