diff --git src/wp-admin/css/customize-nav-menus.css src/wp-admin/css/customize-nav-menus.css
index 4673a8e..d0beeae 100644
|
|
|
button.not-a-button { |
| 715 | 715 | top: 60px; /* below title div / search input */ |
| 716 | 716 | bottom: 0px; /* 100% height that still triggers lazy load */ |
| 717 | 717 | max-height: none; |
| 718 | | width: 270px; |
| | 718 | width: 100%; |
| | 719 | padding: 1px 15px 15px; |
| | 720 | -webkit-box-sizing: border-box; |
| | 721 | -moz-box-sizing: border-box; |
| | 722 | box-sizing: border-box; |
| 719 | 723 | } |
| 720 | 724 | |
| 721 | 725 | #available-menu-items .menu-item-tpl { |
| … |
… |
li.assigned-to-menu-location .add-new-menu-item { |
| 1041 | 1045 | display: none; |
| 1042 | 1046 | } |
| 1043 | 1047 | |
| | 1048 | @media screen and ( max-width: 782px ) { |
| | 1049 | #available-menu-items #available-menu-items-search .accordion-section-content { |
| | 1050 | top: 63px; |
| | 1051 | } |
| | 1052 | } |
| | 1053 | |
| 1044 | 1054 | @media screen and ( max-width: 640px ) { |
| 1045 | 1055 | body.adding-menu-items div#available-menu-items { |
| 1046 | 1056 | top: 46px; |
| … |
… |
li.assigned-to-menu-location .add-new-menu-item { |
| 1049 | 1059 | width: 100%; |
| 1050 | 1060 | } |
| 1051 | 1061 | |
| | 1062 | #available-menu-items #available-menu-items-search .accordion-section-content { |
| | 1063 | top: 133px; |
| | 1064 | } |
| | 1065 | |
| 1052 | 1066 | #available-menu-items .customize-section-title { |
| 1053 | 1067 | display: block; |
| 1054 | 1068 | margin: 0; |
diff --git src/wp-admin/js/customize-nav-menus.js src/wp-admin/js/customize-nav-menus.js
index ccaecdf..ebcd37b 100644
|
|
|
|
| 538 | 538 | content = panelMeta.find( '.customize-panel-description' ), |
| 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' ) ) { |
| 544 | 549 | content.slideUp( 'fast' ); |
| … |
… |
|
| 561 | 566 | } ); |
| 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' ); |
| 567 | 577 | help.attr( 'aria-expanded', 'true' ); |