WordPress.org

Make WordPress Core

Ticket #46658: 46658.diff

File 46658.diff, 1.3 KB (added by sabernhardt, 22 months ago)

Primary menu list items set to display: inline-block for both LTR and RTL stylesheets, plus SCSS

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

     
    5656                > li {
    5757
    5858                        color: $color__link;
    59                         display: inline;
     59                        display: inline-block;
    6060                        position: relative;
    6161
    6262                        > a {
  • src/wp-content/themes/twentynineteen/style-rtl.css

     
    28112811
    28122812.main-navigation .main-menu > li {
    28132813  color: #0073aa;
    2814   display: inline;
     2814  display: inline-block;
    28152815  position: relative;
    28162816}
    28172817
  • src/wp-content/themes/twentynineteen/style.css

     
    28112811
    28122812.main-navigation .main-menu > li {
    28132813  color: #0073aa;
    2814   display: inline;
     2814  display: inline-block;
    28152815  position: relative;
    28162816}
    28172817