WordPress.org

Make WordPress Core

Ticket #46371: 46371.2.diff

File 46371.2.diff, 506 bytes (added by sabernhardt, 4 months ago)

adding scroll-padding-top in the stylesheet

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

     
     1html {
     2        scroll-padding-top: 32px;
     3}
     4
    15#wpadminbar * {
    26        height: auto;
    37        width: auto;
     
    729733}
    730734
    731735@media screen and (max-width: 782px) {
     736        html {
     737                scroll-padding-top: 46px;
     738        }
     739
    732740        /* Toolbar Touchification*/
    733741        html #wpadminbar {
    734742                height: 46px;