Skip to content

Commit

Permalink
#3081: Update styling of mandatory elements in RichTextEditor
Browse files Browse the repository at this point in the history
Changed the style of the h1 mandatory element. Made sure the mandatory
elements are only having a specific style when in the RichTextEditor.
  • Loading branch information
maradragan committed Jun 30, 2020
1 parent c429143 commit a116a82
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions client/src/components/RichTextEditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
margin: 0.75rem 0;
}

h1:empty {
content: 'Please enter a heading here';
background-color: red;
}
.mandatory {
background-color: green;
content: 'Please enter a heading here';
.Draftail-block--header-one.mandatory {
background-color: #f2f2f2;
}

0 comments on commit a116a82

Please sign in to comment.