Skip to:
Content

BuddyPress.org

Changeset 11216


Ignore:
Timestamp:
10/30/2016 10:35:14 PM (8 years ago)
Author:
mercime
Message:

Remove additional arrows from appearing on the BuddyPress' my_account_menu.

The new arrow icons introduced in WP 4.7 trunk caused additional arrows to show
up on the right side of the Toolbar menu links for BuddyPress logged in users
which already had arrow icons on the left side for large screens.

Props Offereins, hnla, slaFFik, mercime.
Fixes #7310 (2.7 branch).

Location:
branches/2.7/src/bp-core/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/src/bp-core/css/admin-bar-rtl.css

    r10487 r11216  
    5757    width: 64px;
    5858}
     59
     60/* Remove additional arrows from appearing on the BuddyPress' `my_account_menu`
     61 * on large screens. Add back arrows for screen widths 600px and lower.
     62 */
     63#wpadminbar .wp-admin-bar-arrow-right {
     64    display: none;
     65}
     66
     67@media screen and (max-width: 600px) {
     68    #wpadminbar .wp-admin-bar-arrow-right {
     69        display: block;
     70    }
     71}
  • branches/2.7/src/bp-core/css/admin-bar.css

    r10487 r11216  
    5757    width: 64px;
    5858}
     59
     60/* Remove additional arrows from appearing on the BuddyPress' `my_account_menu`
     61 * on large screens. Add back arrows for screen widths 600px and lower.
     62 */
     63#wpadminbar .wp-admin-bar-arrow-right {
     64    display: none;
     65}
     66
     67@media screen and (max-width: 600px) {
     68    #wpadminbar .wp-admin-bar-arrow-right {
     69        display: block;
     70    }
     71}
Note: See TracChangeset for help on using the changeset viewer.