Fixes #13872 more: add overrides for lg and sm input modifiers