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

Move the   fix to editor-only styles#623

Merged
allancole merged 1 commit intomasterfrom
fix/remove-nbsp-font-from-frontend
Nov 16, 2018
Merged

Move the   fix to editor-only styles#623
allancole merged 1 commit intomasterfrom
fix/remove-nbsp-font-from-frontend

Conversation

@allancole
Copy link
Copy Markdown
Collaborator

Since the NonBreakingSpaceOverride is not needed on the frontend, we shouldn’t load it at all unless we’re in the editor. This PR makes it so that fix is only added to the Gutenberg editor, which will make our style.css file a good bit lighter on the front end. It also removes a duplicate colors.scss include.

@allancole allancole added this to the RC1 milestone Nov 16, 2018
@allancole allancole merged commit 8cacfaa into master Nov 16, 2018
@kjellr
Copy link
Copy Markdown
Collaborator

kjellr commented Nov 17, 2018

Since the NonBreakingSpaceOverride is not needed on the frontend, we shouldn’t load it at all unless we’re in the editor.

@allancole — It's possible you didn't see the PR, but @jasmussen and I merged that into the front end in #585 the other day. While not definitely required, it does fix some little quirks like the menu spacing noted in the PR. Since the custom font only covers one character, it should add just a couple kilobytes to the site's load. I'd prefer to keep it in, but not a huge deal either way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants