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

Override VS Code default CSS rules reverting to initial #3

Merged
merged 3 commits into from
Feb 8, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Feb 8, 2019

When enabled Marp VS Code, override several default styles, affected Marp rendering, to the initial value by initial keyword.

https://github.com/Microsoft/vscode/blob/92eedf890c66994783e785b00321189d70e55228/src/vs/workbench/contrib/webview/electron-browser/webview-pre.js#L412-L466

Resolves #2.

NOTE: :focus pseudo-selectors did not override because the rollbacked values are lacking keyboard accessibility.

@yhatt yhatt merged commit d0be746 into master Feb 8, 2019
@yhatt yhatt deleted the fix-incorrect-style branch February 8, 2019 12:21
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.

1 participant