Changeset 32243
- Timestamp:
- 04/21/2015 02:14:27 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-widgets.css
r32051 r32243 343 343 position: absolute; 344 344 overflow: auto; 345 top: 46px;345 top: 0; 346 346 bottom: 0; 347 347 left: -301px; … … 353 353 transition: all 0.2s; 354 354 border-right: 1px solid #dddddd; 355 } 356 357 #available-widgets-list { 358 top: 46px; 359 position: absolute; 360 overflow: auto; 361 bottom: 0; 362 width: 100%; 355 363 } 356 364 … … 615 623 @media screen and ( max-width: 640px ) { 616 624 body.adding-widget div#available-widgets { 625 top: 46px; 617 626 left: 0; 618 627 z-index: 10; -
trunk/src/wp-admin/js/customize-widgets.js
r32054 r32243 295 295 this.collection.doSearch( '' ); 296 296 297 this.$search.focus(); 297 if ( ! api.settings.browser.mobile ) { 298 this.$search.focus(); 299 } 298 300 }, 299 301 -
trunk/src/wp-includes/class-wp-customize-widgets.php
r32054 r32243 669 669 <input type="search" id="widgets-search" placeholder="<?php esc_attr_e( 'Search widgets…' ) ?>" /> 670 670 </div> 671 <div id="available-widgets-list"> 671 672 <?php foreach ( $this->get_available_widgets() as $available_widget ): ?> 672 673 <div id="widget-tpl-<?php echo esc_attr( $available_widget['id'] ) ?>" data-widget-id="<?php echo esc_attr( $available_widget['id'] ) ?>" class="widget-tpl <?php echo esc_attr( $available_widget['id'] ) ?>" tabindex="0"> … … 674 675 </div> 675 676 <?php endforeach; ?> 677 </div><!-- #available-widgets-list --> 676 678 </div><!-- #available-widgets --> 677 679 </div><!-- #widgets-left -->
Note: See TracChangeset
for help on using the changeset viewer.