From 7727dcd076bd83a42dc751adba69e982d23d1144 Mon Sep 17 00:00:00 2001 From: Stefan Melmuk Date: Thu, 29 May 2025 21:35:56 +0200 Subject: [PATCH] hide buttons after cancelling login --- src/static/templates/scss/vaultwarden.scss.hbs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/static/templates/scss/vaultwarden.scss.hbs b/src/static/templates/scss/vaultwarden.scss.hbs index 361cce14..9caa1315 100644 --- a/src/static/templates/scss/vaultwarden.scss.hbs +++ b/src/static/templates/scss/vaultwarden.scss.hbs @@ -26,7 +26,7 @@ a[href$="/settings/sponsored-families"] { @extend %vw-hide; } {{else}} -app-root form.ng-untouched button.\!tw-text-primary-600:nth-child(4) { +app-root ng-component > form > div:nth-child(1) > div > button[buttontype="secondary"].\!tw-text-primary-600:nth-child(4) { @extend %vw-hide; } {{/if}} @@ -37,7 +37,7 @@ app-root form.ng-untouched button.\!tw-text-primary-600:nth-child(4) { @extend %vw-hide; } {{else}} -app-root form.ng-untouched > div > div > button.\!tw-text-primary-600:nth-child(3) { +app-root ng-component > form > div:nth-child(1) > div > button[buttontype="secondary"].\!tw-text-primary-600:nth-child(3) { @extend %vw-hide; } {{/if}} @@ -48,7 +48,7 @@ app-root form.ng-untouched > div > div > button.\!tw-text-primary-600:nth-child( @extend %vw-hide; } {{else}} -app-root form.ng-untouched > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) { +app-root ng-component > form > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) { @extend %vw-hide; } {{/if}}