From b6f0528bccb5a7b3e4799ee94e1bc1191c2fead9 Mon Sep 17 00:00:00 2001 From: Timshel Date: Mon, 5 May 2025 17:38:47 +0200 Subject: [PATCH] Toggle providers using class --- src/static/templates/scss/vaultwarden.scss.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/templates/scss/vaultwarden.scss.hbs b/src/static/templates/scss/vaultwarden.scss.hbs index 1050f358..a274e629 100644 --- a/src/static/templates/scss/vaultwarden.scss.hbs +++ b/src/static/templates/scss/vaultwarden.scss.hbs @@ -112,14 +112,14 @@ app-login form div + div + div + div + hr + p { {{#unless mail_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; } {{/unless}} {{#unless yubico_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; } {{/unless}}