Add delete strike animation for local rules
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 28s
Build and Deploy Gateway / deploy (push) Successful in 6s

This commit is contained in:
2026-07-11 23:54:21 +03:00
parent 483fce55f3
commit fbbd6e40b4
4 changed files with 36 additions and 6 deletions

View File

@@ -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}