Skip to content

Commit

Permalink
Editor styles: Override the browser native styling for mark to matc…
Browse files Browse the repository at this point in the history
…h the frontend.

Fixes #134
  • Loading branch information
ryelle committed Apr 30, 2024
1 parent 4200805 commit e88d9fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/wp-content/themes/wporg-parent-2021/sass/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
justify-content: stretch;
}

// Override the browser native styling to match the frontend.
mark.has-inline-color {
background-color: transparent;
}

// Overwrite a style from wp4.css.
h3 a {
font-weight: revert; // stylelint-disable-line font-weight-notation
Expand Down

0 comments on commit e88d9fc

Please sign in to comment.