Skip to content

Conversation

@YuskaWu
Copy link
Owner

@YuskaWu YuskaWu commented Oct 12, 2022

Use CSSStyleSheet to change the custom property of size dynamically inside shadow DOM, so that we can prevent modifying inline style of github-corner element when the size attribute has changed.

(This PR can not merge since Safari does not support adoptedStyleSheets & CSSStyleSheet.replaceSync() API yet.)

@YuskaWu YuskaWu self-assigned this Oct 12, 2022
@YuskaWu YuskaWu force-pushed the refactor/dynamic-stylesheet branch from 4faaeac to 49b72ee Compare October 12, 2022 09:32
@YuskaWu YuskaWu force-pushed the main branch 2 times, most recently from f6b8d99 to b8d1cc0 Compare November 22, 2022 18:55
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.

2 participants