Make WordPress Core

Ticket #25592: 25592.4.diff

File 25592.4.diff, 923 bytes (added by lancewillett, 8 years ago)

Fix for search toggle creating scrollbar

  • wp-content/themes/twentyfourteen/rtl.css

     
    9898}
    9999
    100100.search-toggle .screen-reader-text {
    101         right: auto;
    102         left: 0;
     101        right: 0; /* Avoid a horizontal scrollbar when the site has a long menu */
     102        left: auto;
    103103}
    104104
    105105
  • wp-content/themes/twentyfourteen/style.css

     
    878878        margin-top: 14px;
    879879}
    880880
     881.search-toggle .screen-reader-text {
     882        left: 0; /* Avoid a horizontal scrollbar when the site has a long menu */
     883}
     884
    881885.search-box-wrapper {
    882886        -webkit-box-sizing: border-box;
    883887        -moz-box-sizing:    border-box;