Skip to content

Commit

Permalink
Merge pull request #64 from jreed509/fix-fading-transition
Browse files Browse the repository at this point in the history
Add !important to hidden opacity
  • Loading branch information
iantrich authored Dec 17, 2021
2 parents acea9fc + e5b47ac commit 55732c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/restriction-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class RestrictionCard extends LitElement implements LovelaceCard {
}
.hidden {
visibility: hidden;
opacity: 0;
opacity: 0 !important;
transition: visibility 0s 2s, opacity 2s linear;
color: var(--success-lock-color);
}
Expand Down

0 comments on commit 55732c0

Please sign in to comment.