Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

add charset to stylesheet #242

Merged
merged 1 commit into from
Aug 23, 2017
Merged

add charset to stylesheet #242

merged 1 commit into from
Aug 23, 2017

Conversation

NathanPJF
Copy link
Contributor

What are you trying to accomplish with this PR?

When developers add certain UTF-8 characters to their theme.scss file such as a trademark symbol ©, an accent such as ë, or a proud deer 🦌, the stylesheet will not load properly on storefront.
This was first noted in #204 and again in #241.

This PR adds the fix to the main stylesheet. Hopefully this will prevent future devs from running into this issue. 🙏🔮😄

Fix in action

Other notes

The broken stylesheet behaviour is only seen outside the theme editor. Within the theme editor, the stylesheet loads fine because the asset goes through a separate build process than storefront.

Checklist

For maintainers:

  • I have 🎩'd these changes.

@NathanPJF NathanPJF requested review from bertiful and t-kelly August 21, 2017 12:11
Copy link
Contributor

@t-kelly t-kelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎩 'd and works like a charm

image

Copy link
Contributor

@bertiful bertiful left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works 👍.

image

@t-kelly t-kelly added this to the 0.12.0 milestone Aug 22, 2017
@t-kelly
Copy link
Contributor

t-kelly commented Aug 22, 2017

Feel free to merge this @NathanPJF 😄

@t-kelly t-kelly merged commit d705433 into master Aug 23, 2017
@t-kelly t-kelly deleted the charset-main-scss branch August 23, 2017 13:54
@lock
Copy link

lock bot commented Oct 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
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.

3 participants