Changeset 33617
- Timestamp:
- 08/14/2015 09:22:57 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
-
css/customize-nav-menus.css (modified) (3 diffs)
-
js/customize-nav-menus.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-nav-menus.css
r33610 r33617 711 711 bottom: 0px; /* 100% height that still triggers lazy load */ 712 712 max-height: none; 713 width: 270px; 713 width: 100%; 714 padding: 1px 15px 15px; 715 -webkit-box-sizing: border-box; 716 -moz-box-sizing: border-box; 717 box-sizing: border-box; 714 718 } 715 719 … … 1037 1041 } 1038 1042 1043 @media screen and ( max-width: 782px ) { 1044 #available-menu-items #available-menu-items-search .accordion-section-content { 1045 top: 63px; 1046 } 1047 } 1048 1039 1049 @media screen and ( max-width: 640px ) { 1040 1050 body.adding-menu-items div#available-menu-items { … … 1043 1053 z-index: 10; 1044 1054 width: 100%; 1055 } 1056 1057 #available-menu-items #available-menu-items-search .accordion-section-content { 1058 top: 133px; 1045 1059 } 1046 1060 -
trunk/src/wp-admin/js/customize-nav-menus.js
r33602 r33617 539 539 options = $( '#screen-options-wrap' ), 540 540 button = panelMeta.find( '.customize-screen-options-toggle' ); 541 button.on( 'click', function() { 541 button.on( 'click keydown', function( event ) { 542 if ( api.utils.isKeydownButNotEnterEvent( event ) ) { 543 return; 544 } 545 event.preventDefault(); 546 542 547 // Hide description 543 548 if ( content.not( ':hidden' ) ) { … … 562 567 563 568 // Help toggle 564 help.on( 'click', function() { 569 help.on( 'click keydown', function( event ) { 570 if ( api.utils.isKeydownButNotEnterEvent( event ) ) { 571 return; 572 } 573 event.preventDefault(); 574 565 575 if ( 'true' === button.attr( 'aria-expanded' ) ) { 566 576 button.attr( 'aria-expanded', 'false' );
Note: See TracChangeset
for help on using the changeset viewer.