Skip to content

fix: #108 card is not encapsulated in shadowRoot causing card mod styles to collide - #111

Merged
ofekashery merged 1 commit into
ofekashery:masterfrom
PruvoNet:bug
Oct 26, 2021
Merged

fix: #108 card is not encapsulated in shadowRoot causing card mod styles to collide#111
ofekashery merged 1 commit into
ofekashery:masterfrom
PruvoNet:bug

Conversation

@regevbr

@regevbr regevbr commented Sep 24, 2021

Copy link
Copy Markdown
Contributor

Fix: #108

This PR encapsulated the created card in side a shadowRoot. This is required when using card-mod to add custom styles to the card, which adds a <style> element that, if not inside a shadowRoot, will affect the entire view.

@ofekashery can you please CR?

i.e
I'm already using the fix on my hassio instance and it works great

@regevbr regevbr changed the title card is not encapsulated in shadowRoot causing card mod styles to collide fix: #108 card is not encapsulated in shadowRoot causing card mod styles to collide Sep 29, 2021
@regevbr

regevbr commented Sep 29, 2021

Copy link
Copy Markdown
Contributor Author

@ofekashery can you please CR?

@regevbr

regevbr commented Oct 6, 2021

Copy link
Copy Markdown
Contributor Author

@ofekashery can you please CR?

1 similar comment
@regevbr

regevbr commented Oct 26, 2021

Copy link
Copy Markdown
Contributor Author

@ofekashery can you please CR?

@ofekashery

Copy link
Copy Markdown
Owner

Thank you, @regevbr.

@ofekashery
ofekashery merged commit b5c03ae into ofekashery:master Oct 26, 2021
@regevbr
regevbr deleted the bug branch October 26, 2021 18:51
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.

BUG: vertical-stack-in-card does not work properly with popular styling plugin "card-mod" (by thomasloven)

2 participants