Commit 37fcc6b7 authored by JC Brand's avatar JC Brand

Hide connection feedback parent element

parent 140946a3
......@@ -2343,7 +2343,7 @@ body {
#conversejs #controlbox #converse-register {
margin: 4em 30% 0 30%; }
#conversejs #controlbox #converse-login {
margin: 2em 30% 0 30%; }
margin: 4em 30% 4em 30%; }
#conversejs #controlbox #converse-register .title, #conversejs #controlbox #converse-register .instructions, #conversejs #controlbox #converse-register label, #conversejs #controlbox #converse-login .title, #conversejs #controlbox #converse-login .instructions, #conversejs #controlbox #converse-login label {
margin: 1em 0; }
#conversejs #controlbox #converse-register input[type=submit],
......
......@@ -46,7 +46,7 @@
margin: 4em 30% 0 30%;
}
#converse-login {
margin: 2em 30% 0 30%;
margin: 4em 30% 4em 30%;
}
#converse-register, #converse-login {
.title, .instructions, label {
......
......@@ -428,9 +428,9 @@
function insert (text, el) {
el.textContent = text;
if (!text) {
el.classList.add('hidden');
el.parentNode.classList.add('hidden');
} else {
el.classList.remove('hidden');
el.parentNode.classList.remove('hidden');
}
el.classList.remove('error');
if (klass) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment