New Header in Admin Panel Blocking Login Form #1710

Closed
opened 2026-02-05 01:32:05 +03:00 by OVERLORD · 12 comments
Owner

Originally created by @Tyree on GitHub (Sep 18, 2023).

Subject of the issue

There's a new Vaultwarden header on the admin login page that covers the login form.

Deployment environment

unRAID Docker

  • vaultwarden version:
    2023.7.1

  • Install method:
    unRAID Docker

  • Clients used:
    Web

Steps to reproduce

Open the admin login page

Expected behaviour

Login form visible

Actual behaviour

Login form covered
blocked

Originally created by @Tyree on GitHub (Sep 18, 2023). ### Subject of the issue There's a new Vaultwarden header on the admin login page that covers the login form. ### Deployment environment unRAID Docker * vaultwarden version: 2023.7.1 * Install method: unRAID Docker * Clients used: <!-- web vault, desktop, Android, iOS, etc. (if applicable) --> Web ### Steps to reproduce Open the admin login page ### Expected behaviour Login form visible ### Actual behaviour Login form covered ![blocked](https://github.com/dani-garcia/vaultwarden/assets/5395363/8b372606-6443-4c49-9e13-56d15ea91f26)
Author
Owner

@stefan0xC commented on GitHub (Sep 18, 2023):

What browser are you using? In Firefox 117.0.1 it works as expected. (Just tested it also in Win 10 and there are no issues with Chrome or Edge either.)

@stefan0xC commented on GitHub (Sep 18, 2023): What browser are you using? In Firefox 117.0.1 it works as expected. (Just tested it also in Win 10 and there are no issues with Chrome or Edge either.)
Author
Owner

@Tyree commented on GitHub (Sep 18, 2023):

Using Chrome. I just checked with Firefox and Brave and it looks the same. For such a simple page, I wouldn't think there were any crazy, cutting-edge CSS at play.
Looking at the code, the Navbar is fixed-top and I'm assuming that makes it position: absolute....but I don't see margins or anything on the login form to push it down and out from under the navbar.
But if it looks right for you, I don't know.

@Tyree commented on GitHub (Sep 18, 2023): Using Chrome. I just checked with Firefox and Brave and it looks the same. For such a simple page, I wouldn't think there were any crazy, cutting-edge CSS at play. Looking at the code, the Navbar is fixed-top and I'm assuming that makes it position: absolute....but I don't see margins or anything on the login form to push it down and out from under the navbar. But if it looks right for you, I don't know.
Author
Owner

@stefan0xC commented on GitHub (Sep 18, 2023):

On my system body has a padding-top: 75px; (from /vw_static/admin.css).

Do you have maybe overwritten the admin templates? What does the browser console say? Does anything fail to load?

@stefan0xC commented on GitHub (Sep 18, 2023): On my system `body` has a `padding-top: 75px;` (from `/vw_static/admin.css`). Do you have maybe overwritten the admin templates? What does the browser console say? Does anything fail to load?
Author
Owner

@Tyree commented on GitHub (Sep 18, 2023):

I haven't overwritten anything under the hood. I wouldn't even know how off-hand. :-D
I just checked the body element and there is no padding on it. Only see a margin: 0.
I just added margin-top: 100px to the div for the form in Firefox and it looks good.
margintop

@Tyree commented on GitHub (Sep 18, 2023): I haven't overwritten anything under the hood. I wouldn't even know how off-hand. :-D I just checked the body element and there is no padding on it. Only see a margin: 0. I just added margin-top: 100px to the div for the form in Firefox and it looks good. ![margintop](https://github.com/dani-garcia/vaultwarden/assets/5395363/24fc2fa4-c03b-40e6-88e1-21fd113904c0)
Author
Owner

@Tyree commented on GitHub (Sep 18, 2023):

I just forced an update check on the container. Says it's up to date.

@Tyree commented on GitHub (Sep 18, 2023): I just forced an update check on the container. Says it's up to date.
Author
Owner

@Tyree commented on GitHub (Sep 18, 2023):

I added the padding-top: 75px to the body (only in browser, not in a file), but it still cuts off the top. Is this what yours looks like?
paddingtop

@Tyree commented on GitHub (Sep 18, 2023): I added the padding-top: 75px to the body (only in browser, not in a file), but it still cuts off the top. Is this what yours looks like? ![paddingtop](https://github.com/dani-garcia/vaultwarden/assets/5395363/3e9ea3b3-dffb-430d-8264-83a94a171ade)
Author
Owner

@stefan0xC commented on GitHub (Sep 18, 2023):

No. The .vaultwarden-icon is also much too large. I think your browser is not loading the /vw_static/admin.css. Can you open the file directly?

@stefan0xC commented on GitHub (Sep 18, 2023): No. The `.vaultwarden-icon` is also much too large. I think your browser is not loading the `/vw_static/admin.css`. Can you open the file directly?
Author
Owner

@Tyree commented on GitHub (Sep 18, 2023):

Do I need to open that from within the container console? Or are you saying within the browser? Is it just http://domain/vw_static/admin.css ?

@Tyree commented on GitHub (Sep 18, 2023): Do I need to open that from within the container console? Or are you saying within the browser? Is it just http://domain/vw_static/admin.css ?
Author
Owner

@stefan0xC commented on GitHub (Sep 18, 2023):

Unless you are using a sub-folder (then it should be https://domain/path/vw_static/admin.css).

@stefan0xC commented on GitHub (Sep 18, 2023): Unless you are using a sub-folder (then it should be `https://domain/path/vw_static/admin.css`).
Author
Owner

@Tyree commented on GitHub (Sep 18, 2023):

Okay. Yeah, I opened it in the browser and I do see the padding-top on the body.
I see the problem. I just set up authelia and I have vaultwarden excluded, but not that path. I see the errors in the browser console.
My bad. Sorry for wasting your time! And thanks for the help!

@Tyree commented on GitHub (Sep 18, 2023): Okay. Yeah, I opened it in the browser and I do see the padding-top on the body. I see the problem. I just set up authelia and I have vaultwarden excluded, but not that path. I see the errors in the browser console. My bad. Sorry for wasting your time! And thanks for the help!
Author
Owner

@stefan0xC commented on GitHub (Sep 18, 2023):

No worries. I'm glad I could help.
(This issue can be closed)

@stefan0xC commented on GitHub (Sep 18, 2023): No worries. I'm glad I could help. (This issue can be closed)
Author
Owner

@Tyree commented on GitHub (Sep 18, 2023):

Resolved

@Tyree commented on GitHub (Sep 18, 2023): Resolved
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1710