fixed the stupid negative margin

díky sochy
This commit is contained in:
Václav Šmejkal 2024-05-09 21:18:02 +02:00
parent ce0aa98c80
commit 075adbfa86
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
2 changed files with 7 additions and 9 deletions

View File

@ -64,13 +64,13 @@ function set_login_uname(uname)
document.getElementById("login_indicator").style.visibility = "visible";
document.getElementById("login_indicator_text").innerText += " " + uname;
document.getElementById("login_buttons").style.visibility = "hidden";
document.getElementById("logout_button").style.visibility = "visible";
document.getElementById("login_buttons").style.display = "none";
document.getElementById("logout_button").style.display = "inline";
}
function logout()
{
document.getElementById("login_buttons").style.visibility = "visible";
document.getElementById("logout_button").style.visibility = "hidden";
document.getElementById("login_indicator").style.visibility = "hidden";
document.getElementById("login_buttons").style.display = "inline";
document.getElementById("logout_button").style.display = "none";
document.getElementById("login_indicator").style.display = "none";
}

View File

@ -103,7 +103,7 @@ body
padding-left: 2vh;
}
#login_buttons
#login_buttons, #logout_button
{
margin-top: 5vh;
}
@ -115,9 +115,7 @@ body
#logout_button
{
visibility: hidden;
position: absolute;
margin-top: -8.05vh;
display: none;
}
#login_indicator