Remove unused class

This commit is contained in:
JC Brand 2018-03-19 20:57:15 +00:00
parent 8b4553b78f
commit f90ca8f7f4
5 changed files with 3 additions and 17 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -138,7 +138,7 @@
color: $error-color;
}
p {
padding-bottom: 0.5em;
padding-bottom: 1em;
&.feedback-subject.error {
font-weight: bold;
}

View File

@ -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);

View File

@ -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;
},