1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

frontend: add min-height only when necessary

Fixes https://gitlab.com/commento/commento-ce/issues/81
This commit is contained in:
Adhityaa Chandrasekar
2018-09-23 00:52:34 -04:00
parent f54f4d0afd
commit 4d799182da
2 changed files with 6 additions and 1 deletions

View File

@ -1050,6 +1050,7 @@
classAdd(oauthButtonsContainer, "oauth-buttons-container");
classAdd(oauthButtons, "oauth-buttons");
classAdd(close, "login-box-close");
classAdd(root, "root-min-height");
emailButton.innerText = "Continue";
loginLink.innerText = "Already have an account? Log in.";
@ -1378,6 +1379,7 @@
var loginBoxContainer = $(ID_LOGIN_BOX_CONTAINER);
classRemove(mainArea, "blurred");
classRemove(root, "root-min-height");
attrSet(loginBoxContainer, "style", "display: none");
}