Skip to content

Commit

Permalink
Add white link color in the front end so thi can be removed from edit…
Browse files Browse the repository at this point in the history
…or.scss.
  • Loading branch information
samikeijonen committed Feb 22, 2018
1 parent e696170 commit 7d93529
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 0 additions & 4 deletions blocks/library/cover-image/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
position: inherit;
}

.blocks-rich-text__tinymce a {
color: white;
}

.blocks-rich-text__tinymce:focus a[data-mce-selected] {
padding: 0 2px;
margin: 0 -2px;
Expand Down
7 changes: 7 additions & 0 deletions blocks/library/cover-image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
max-width: $visual-editor-max-width;
padding: $block-padding;
text-align: center;

a,
a:hover,
a:focus,
a:active {
color: white;
}
}

&.has-parallax {
Expand Down

0 comments on commit 7d93529

Please sign in to comment.