Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CSS variable ponyfill to the button iframe #491

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

alexisgrow
Copy link
Contributor

Currently the CSS variable ponyfill lives in the Answers SDK. Since we don't use the Answers SDK in the button iframe, our variables were not being ponyfilled which meant that they weren't working in IE11. Add the ponyfill to the button iframe's JS.

TEST=manual
J=PB-9812

Serve page in IE11, see font family is font family specified in the answers-variables file rather than the default IE11 font.

<script src="overlay-button.js"></script>
<link rel="stylesheet" type="text/css" href="overlay-button.css">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ponyfill must be imported before the CSS variable filled styling 👾

@tmeyer2115 tmeyer2115 merged commit 351a9be into release/v1.17 Nov 24, 2020
@tmeyer2115 tmeyer2115 deleted the dev/fix-font-in-button-frame branch November 24, 2020 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants