Commit f90ca8f7 authored by JC Brand's avatar JC Brand

Remove unused class

parent 8b4553b7
......@@ -5502,7 +5502,7 @@ body.reset {
#conversejs #controlbox .conn-feedback.error {
color: #A53214; }
#conversejs #controlbox .conn-feedback p {
padding-bottom: 0.5em; }
padding-bottom: 1em; }
#conversejs #controlbox .conn-feedback p.feedback-subject.error {
font-weight: bold; }
#conversejs #controlbox .brand-heading-container .brand-heading {
......@@ -5780,8 +5780,6 @@ body.reset {
overflow: hidden;
height: calc(100% - 70px);
/* Custom addition for CSP */ }
#conversejs #converse-roster.no-contact-requests {
height: calc(~"100% - 50px - 20px"); }
#conversejs #converse-roster #online-count {
display: none; }
#conversejs #converse-roster .search-xmpp ul li.chat-info {
......
......@@ -5572,7 +5572,7 @@ body {
#conversejs #controlbox .conn-feedback.error {
color: #A53214; }
#conversejs #controlbox .conn-feedback p {
padding-bottom: 0.5em; }
padding-bottom: 1em; }
#conversejs #controlbox .conn-feedback p.feedback-subject.error {
font-weight: bold; }
#conversejs #controlbox .brand-heading-container .brand-heading {
......@@ -5912,8 +5912,6 @@ body {
overflow: hidden;
height: calc(100% - 70px);
/* Custom addition for CSP */ }
#conversejs #converse-roster.no-contact-requests {
height: calc(~"100% - 60px - 20px"); }
#conversejs #converse-roster #online-count {
display: none; }
#conversejs #converse-roster .search-xmpp ul li.chat-info {
......
......@@ -138,7 +138,7 @@
color: $error-color;
}
p {
padding-bottom: 0.5em;
padding-bottom: 1em;
&.feedback-subject.error {
font-weight: bold;
}
......
......@@ -8,10 +8,6 @@
padding: 0;
overflow: hidden;
&.no-contact-requests {
height: calc(~"100% - #{$controlbox-dropdown-height*2} - 20px");
}
// XXX: FIXME
height: calc(100% - 70px);
......
......@@ -708,12 +708,6 @@
const form = this.el.querySelector('.roster-filter-form');
this.el.replaceChild(this.filter_view.render().el, form);
this.roster_el = this.el.querySelector('.roster-contacts');
if (!_converse.allow_contact_requests) {
// XXX: if we ever support live editing of config then
// we'll need to be able to remove this class on the fly.
this.el.classList.add('no-contact-requests');
}
return this;
},
......
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