iantrich / restriction-card

🔒 Apply restrictions to Lovelace cards
MIT License
270 stars 23 forks source link

Add !important to hidden opacity #64

Closed jreed509 closed 2 years ago

jreed509 commented 2 years ago

Opacity set in the #lock ID conflicted with the transition to hide the lock icon. Adding !important to opacity in the .hidden class forces opacity: 0; to take precedence and the fade-out transition works as expected.

This appears to resolve issue https://github.com/iantrich/restriction-card/issues/63

iantrich commented 2 years ago

thanks!