WordPress.org

Make WordPress Core

Ticket #45866: 45866.2.patch

File 45866.2.patch, 1.2 KB (added by mukesh27, 6 weeks ago)

Updated patch.

  • src/wp-content/themes/twentynineteen/sass/navigation/_menu-main-navigation.scss

     
    205205                                line-height: $font__line-height-heading;
    206206                                text-shadow: none;
    207207                                padding: calc( .5 * #{$size__spacing-unit} ) calc( 24px + #{$size__spacing-unit} ) calc( .5 * #{$size__spacing-unit} ) $size__spacing-unit;
    208                                 white-space: nowrap;
     208                                max-width: #{20 * $size__spacing-unit};
    209209
    210210                                &:hover,
    211211                                &:focus {
  • src/wp-content/themes/twentynineteen/style.css

     
    29592959  line-height: 1.2;
    29602960  text-shadow: none;
    29612961  padding: calc( .5 * 1rem) calc( 24px + 1rem) calc( .5 * 1rem) 1rem;
    2962   white-space: nowrap;
     2962  max-width: 20rem;
    29632963}
    29642964
    29652965.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus,