Add delete strike animation for local rules
This commit is contained in:
@@ -387,7 +387,7 @@ function LocalRulesPanel({
|
||||
const [status, statusLabel] = localRuleStatus(rule, savedRules, activeRules);
|
||||
return (
|
||||
<div
|
||||
className={`client-local-rule is-${status}${rule.enabled ? '' : ' is-disabled'}${rule.removing ? ' is-removing' : ''}`}
|
||||
className={`client-local-rule client-deletable-row is-${status}${rule.enabled ? '' : ' is-disabled'}${rule.removing ? ' is-removing' : ''}`}
|
||||
key={rule._key}
|
||||
style={{ viewTransitionName: rule.removing ? 'none' : rule._key }}
|
||||
inert={rule.removing ? true : undefined}
|
||||
|
||||
Reference in New Issue
Block a user