Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #46 from ckeditor/i/5677
Browse files Browse the repository at this point in the history
Fix: Highlight styles should be prefixed with the `.ck-content` class. Closes ckeditor/ckeditor5#5677.
  • Loading branch information
Reinmar authored Nov 5, 2019
2 parents 1487cdf + 349e7a3 commit 658baa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme/highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
}

@define-mixin highlight-marker-color $color {
.marker-$color {
.ck-content .marker-$color {
background-color: var(--ck-highlight-marker-$color);
}
}

@define-mixin highlight-pen-color $color {
.pen-$color {
.ck-content .pen-$color {
color: var(--ck-highlight-pen-$color);

/* Override default yellow background of `<mark>` from user agent stylesheet */
Expand Down

0 comments on commit 658baa4

Please sign in to comment.