mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
New Header in Admin Panel Blocking Login Form #1710
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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

@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.)
@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.
@stefan0xC commented on GitHub (Sep 18, 2023):
On my system
bodyhas apadding-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?
@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.
@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 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?

@stefan0xC commented on GitHub (Sep 18, 2023):
No. The
.vaultwarden-iconis also much too large. I think your browser is not loading the/vw_static/admin.css. Can you open the file directly?@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 ?
@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).@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!
@stefan0xC commented on GitHub (Sep 18, 2023):
No worries. I'm glad I could help.
(This issue can be closed)
@Tyree commented on GitHub (Sep 18, 2023):
Resolved