Skip to:
Content

BuddyPress.org

Changeset 11215


Ignore:
Timestamp:
10/30/2016 10:31:37 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 (trunk).

Location:
trunk/src/bp-core/css
Files:
2 edited

Legend:

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

    r10487 r11215  
    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}
  • trunk/src/bp-core/css/admin-bar.css

    r10487 r11215  
    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.