fixed the stupid negative margin
díky sochy
This commit is contained in:
parent
ce0aa98c80
commit
075adbfa86
@ -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";
|
||||
}
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user