Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Update cover image block name #294

Merged
merged 2 commits into from
Oct 25, 2018
Merged

Conversation

kjellr
Copy link
Collaborator

@kjellr kjellr commented Oct 25, 2018

Fixes #293

The cover image block got renamed when it added video functionality in Gutenberg 4.1.0. This PR makes the necessary changes for our theme:

  • Renames styles in style-editor.css
  • Adds additional name selector in _blocks.scss (We want to include both the new and the old name here, to support cover image blocks created using prior versions of Gutenberg)

To test:

  • Update to Gutenberg 4.1.0
  • Check out a cover image block.

Before:

screen shot 2018-10-24 at 9 24 14 pm

After

screen shot 2018-10-24 at 9 24 26 pm

@kjellr kjellr requested a review from allancole October 25, 2018 01:31
@allancole
Copy link
Collaborator

Yup, good call on flipping the font. 👍 Merging… 

@allancole allancole merged commit a01ad3b into master Oct 25, 2018
@kjellr kjellr deleted the update/cover-image-block-name branch October 25, 2018 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants