Toggle providers using class (#5832)

This commit is contained in:
Timshel 2025-05-16 16:54:44 +00:00 committed by GitHub
parent 2f1d86b7f1
commit bf04c64759
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,14 +96,14 @@ app-login form div + div + div + div + hr + p {
{{#unless mail_enabled}} {{#unless mail_enabled}}
/* Hide `Email` 2FA if mail is not enabled */ /* Hide `Email` 2FA if mail is not enabled */
app-two-factor-setup ul.list-group.list-group-2fa li.list-group-item:nth-child(1) { .providers-2fa-1 {
@extend %vw-hide; @extend %vw-hide;
} }
{{/unless}} {{/unless}}
{{#unless yubico_enabled}} {{#unless yubico_enabled}}
/* Hide `YubiKey OTP security key` 2FA if it is not enabled */ /* Hide `YubiKey OTP security key` 2FA if it is not enabled */
app-two-factor-setup ul.list-group.list-group-2fa li.list-group-item:nth-child(4) { .providers-2fa-3 {
@extend %vw-hide; @extend %vw-hide;
} }
{{/unless}} {{/unless}}