Browse Source

fix css for locked screen (#5905)

by making the selector more specific to the login page
the logout button on the locked screen should be visible again
Stefan Melmuk 4 months ago
parent
commit
200999c94e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/static/templates/scss/vaultwarden.scss.hbs

+ 1 - 1
src/static/templates/scss/vaultwarden.scss.hbs

@@ -25,7 +25,7 @@ app-root form.ng-untouched button.\!tw-text-primary-600:nth-child(4) {
   @extend %vw-hide;
 }
 /* Hide Log in with passkey on the login page */
-app-root form.ng-untouched button.\!tw-text-primary-600:nth-child(3) {
+app-root form.ng-untouched > div > div > button.\!tw-text-primary-600:nth-child(3) {
   @extend %vw-hide;
 }
 /* Hide the or text followed by the two buttons hidden above */