-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Admin: Standardize mobile viewport heights for interactive elements #11750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Changes from all commits
bc87c16
f3ac21f
2adecb5
f01d6d2
dc4beec
3db429c
2268f5e
deca256
2a7026e
863351b
add68c9
6b9341f
290bb4f
bc2280d
f3ed114
84114d6
c38a092
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -242,12 +242,12 @@ protected function extra_tablenav( $which ) { | |
| /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */ | ||
| do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); | ||
|
|
||
| submit_button( __( 'Filter' ), 'button-compact', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); | ||
| submit_button( __( 'Filter' ), 'button-compact', 'filter_action', false ); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think Access the trash bin view from the media view. There is no space between the Filter button and the Empty Trash button.
There is a margin applied below the Filter button, causing it to misalign with the select element.
|
||
|
|
||
| if ( $this->is_trash && $this->has_items() | ||
| && current_user_can( 'edit_others_posts' ) | ||
| ) { | ||
| submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); | ||
| submit_button( __( 'Empty Trash' ), 'apply button-compact', 'delete_all', false ); | ||
| } | ||
| ?> | ||
| </div> | ||
|
|
@@ -351,7 +351,7 @@ public function views() { | |
| ?> | ||
| </label> | ||
| <input type="search" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"> | ||
| <input id="search-submit" type="submit" class="button" value="<?php esc_attr_e( 'Search Media' ); ?>"> | ||
| <input id="search-submit" type="submit" class="button button-compact" value="<?php esc_attr_e( 'Search Media' ); ?>"> | ||
| </p> | ||
| </div> | ||
| </div> | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is not intended. On the desktop layout, the button size changes from 32px to 40px. Along with the removal of these styles, each button needs the
button-compactclass. This will ensure that the button height is 32px on the desktop layout and 40px on the mobile layout.The file to be edited is likely
theme-install.php.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I completely missed this. I apologize for the increasing iterations!
There are a lot of places to look, at a lot of different breakpoints.