[buddypress-trac] [BuddyPress Trac] #6674: Cover Image: Remove #item-buttons DIV if element has no content for Groups component

buddypress-trac noreply at wordpress.org
Wed Oct 21 23:43:47 UTC 2015


#6674: Cover Image: Remove #item-buttons DIV if element has no content for Groups
component
-------------------------+---------------------
 Reporter:  r-a-y        |       Owner:  r-a-y
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.4
Component:  Appearance   |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10296"]:
 {{{
 #!CommitTicketReference repository="" revision="10296"
 Cover Image: Remove empty `#item-buttons` DIV with CSS.

 To remove the empty `#item-buttons` DIV with CSS we have to remove all
 whitespace from the DIV and then use the `:empty` CSS selector.

 The other CSS declarations are some improvements with spacing and clearing
 regarding the cover image block.

 Hat-tip hnla, imath.

 Fixes #6674.
 }}}

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


More information about the buddypress-trac mailing list