Make WordPress Core

Ticket #60374: 60374.diff

File 60374.diff, 833 bytes (added by sabernhardt, 4 months ago)

removes background, top and bottom padding, outline-offset and letter-spacing on buttons; removes side margins from submenus; adds side padding to modal

  • src/wp-content/themes/twentysixteen/css/blocks.css

     
    325325        display: list-item;
    326326}
    327327
     328/* Navigation */
     329
     330.wp-block-navigation-item .wp-block-navigation-submenu {
     331        margin-left: 0;
     332        margin-right: 0;
     333}
     334
     335.wp-block-navigation button {
     336        background: transparent;
     337        padding-top: 0;
     338        padding-bottom: 0;
     339        outline-offset: 0;
     340        letter-spacing: normal;
     341}
     342
     343.wp-block-navigation__responsive-container.is-menu-open {
     344        padding: 0 1rem;
     345}
     346
    328347/*--------------------------------------------------------------
    3293485.0 Blocks - Widget Blocks
    330349--------------------------------------------------------------*/