WordPress.org

Make WordPress Core

Ticket #49723: 49723.diff

File 49723.diff, 398 bytes (added by eddystile, 4 months ago)

remove shake animation in login screen

  • src/wp-admin/css/login.css

    diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css
    index 08dc1e5f9c..b7cd93c2d0 100644
    a b p { 
    157157        }
    158158}
    159159
     160@media (prefers-reduced-motion: reduce) {
     161        .login form.shake {
     162                animation: none;
     163                transform: none;
     164        }
     165}
     166
    160167.login-action-confirm_admin_email #login {
    161168        width: 60vw;
    162169        max-width: 650px;