Skip to content

Commit

Permalink
Update cover block styles
Browse files Browse the repository at this point in the history
Closes wprig#191.
  • Loading branch information
benoitchantre committed Nov 22, 2018
1 parent 7b04438 commit 2ecb5c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions assets/css/src/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@
padding: 0;
}

.wp-block-cover-image .wp-block-cover-image-text,
.wp-block-cover-image h2 {
.wp-block-cover .wp-block-cover-text {
margin-top: 0;
}

Expand Down
3 changes: 1 addition & 2 deletions assets/css/src/editor/editor-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ body.gutenberg-editor-page .edit-post-visual-editor p {
/* stylelint-enable */
}

body.gutenberg-editor-page .wp-block-cover-image .wp-block-cover-image-text,
body.gutenberg-editor-page .wp-block-cover-image .wp-block-cover-image h2 {
body.gutenberg-editor-page .wp-block-cover .wp-block-cover-text {
color: #fff;
font-size: 2em;
line-height: 1.25;
Expand Down

0 comments on commit 2ecb5c5

Please sign in to comment.