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

Hide connection feedback parent element

parent 140946a3
...@@ -2343,7 +2343,7 @@ body { ...@@ -2343,7 +2343,7 @@ body {
#conversejs #controlbox #converse-register { #conversejs #controlbox #converse-register {
margin: 4em 30% 0 30%; } margin: 4em 30% 0 30%; }
#conversejs #controlbox #converse-login { #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 { #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; } margin: 1em 0; }
#conversejs #controlbox #converse-register input[type=submit], #conversejs #controlbox #converse-register input[type=submit],
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
margin: 4em 30% 0 30%; margin: 4em 30% 0 30%;
} }
#converse-login { #converse-login {
margin: 2em 30% 0 30%; margin: 4em 30% 4em 30%;
} }
#converse-register, #converse-login { #converse-register, #converse-login {
.title, .instructions, label { .title, .instructions, label {
......
...@@ -428,9 +428,9 @@ ...@@ -428,9 +428,9 @@
function insert (text, el) { function insert (text, el) {
el.textContent = text; el.textContent = text;
if (!text) { if (!text) {
el.classList.add('hidden'); el.parentNode.classList.add('hidden');
} else { } else {
el.classList.remove('hidden'); el.parentNode.classList.remove('hidden');
} }
el.classList.remove('error'); el.classList.remove('error');
if (klass) { 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