[buddypress-trac] [BuddyPress Trac] #7443: Hidden groups CSS specificity

buddypress-trac noreply at wordpress.org
Thu Jun 15 18:12:39 UTC 2017


#7443: Hidden groups CSS specificity
--------------------------+------------------
 Reporter:  MikeGillihan  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  Groups        |     Version:  1.7
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by r-a-y):

 * keywords:  dev-feedback close => has-patch
 * milestone:  Awaiting Review => 2.9


Comment:

 Moving this to 2.9.

 Bootstrap uses the `.hidden` CSS class, which conflicts with the `.hidden`
 class we use in group lists.

 I would recommend the following CSS declaration to fix this:

 {{{
 #groups-list li.hidden {
         display: list-item !important;
 }
 }}}

 This would probably minimize the amount of breakage, however it might
 cause problems in custom BP themes that are using `display: inline-block`
 or some other variation.

 In that case, I've also attached a JS fix for this.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7443#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list