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

fix: unset renderer style rather than set to initial #64

Merged
merged 1 commit into from
Oct 27, 2018

Conversation

ktsn
Copy link
Owner

@ktsn ktsn commented Oct 27, 2018

Renderer style is set to initial (all: initial;) to avoid affecting Vue Designer style for the user component. But initial leads unexpected behavior for some css properties such as font-family - the font-family is always serif even if the user set font-family: sans-serif; to <body> on their shared style.

To handle such situation, we should use unset css value instead of initial so that inherited properties (e.g. font-family) will be set to inherit.

@ktsn ktsn merged commit 59b0a90 into master Oct 27, 2018
@ktsn ktsn deleted the unset-renderer-style branch October 27, 2018 08:45
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.

None yet

1 participant