WordPress.org

Make WordPress Core

Ticket #46371: 46371.1.diff

File 46371.1.diff, 703 bytes (added by audrasjb, 13 months ago)

Don’t hide content anchors with WP Admin Bar

  • src/wp-includes/css/admin-bar.css

    diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css
    index 85b2cc3..f71bb0c 100644
    a b html:lang(he-il) .rtl #wpadminbar * { 
    748748}
    749749
    750750/**
     751 * Don’t hide anchors
     752 */
     753body.admin-bar .entry-content h1:target,
     754body.admin-bar .entry-content h2:target,
     755body.admin-bar .entry-content h3:target,
     756body.admin-bar .entry-content h4:target,
     757body.admin-bar .entry-content h5:target,
     758body.admin-bar .entry-content h6:target,
     759body.admin-bar .entry-content .wp-block-group:target {
     760        padding-top: 32px;
     761        margin-top: -32px;
     762}
     763
     764/**
    751765 * IE 6-targeted rules
    752766 */
    753767* html #wpadminbar {