Themes: Improve the alignment of feature filters and inputs on Add Themes screen.

Follow-up to [35527], [38640], [40797].

Props Benjamin_Zekavica, sabernhardt, sumitsingh, gauravtiwari, krupajnanda, audrasjb, SergeyBiryukov.
Fixes #53314.
Built from https://develop.svn.wordpress.org/trunk@59022


git-svn-id: http://core.svn.wordpress.org/trunk@58418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-09-15 13:49:15 +00:00
parent 21142e7279
commit c0350f64a0
6 changed files with 42 additions and 10 deletions

View File

@ -1181,6 +1181,17 @@ th.action-links {
overflow: hidden;
}
.wp-filter .favorites-form .favorites-username {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.wp-filter .favorites-form .favorites-username input {
margin: 0;
}
.show-filters .filter-drawer,
.show-favorites-form .favorites-form {
display: block;
@ -1289,11 +1300,13 @@ th.action-links {
}
.filtered-by .tags {
display: inline;
display: flex;
align-items: flex-start;
flex-wrap: wrap;
gap: 8px;
}
.filtered-by .tag {
margin: 0 5px;
padding: 4px 8px;
border: 1px solid #dcdcde;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@ -1308,7 +1321,10 @@ th.action-links {
}
.filters-applied .filtered-by {
display: block;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
.filters-applied .filter-drawer {

File diff suppressed because one or more lines are too long

View File

@ -1180,6 +1180,17 @@ th.action-links {
overflow: hidden;
}
.wp-filter .favorites-form .favorites-username {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.wp-filter .favorites-form .favorites-username input {
margin: 0;
}
.show-filters .filter-drawer,
.show-favorites-form .favorites-form {
display: block;
@ -1288,11 +1299,13 @@ th.action-links {
}
.filtered-by .tags {
display: inline;
display: flex;
align-items: flex-start;
flex-wrap: wrap;
gap: 8px;
}
.filtered-by .tag {
margin: 0 5px;
padding: 4px 8px;
border: 1px solid #dcdcde;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@ -1307,7 +1320,10 @@ th.action-links {
}
.filters-applied .filtered-by {
display: block;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
}
.filters-applied .filter-drawer {

File diff suppressed because one or more lines are too long

View File

@ -230,7 +230,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<p class="install-help"><?php _e( 'If you have marked themes as favorites on WordPress.org, you can browse them here.' ); ?></p>
<p>
<p class="favorites-username">
<label for="wporg-username-input"><?php _e( 'Your WordPress.org username:' ); ?></label>
<input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" />
<input type="search" id="wporg-username-input" value="<?php echo esc_attr( $user ); ?>" />

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-59021';
$wp_version = '6.7-alpha-59022';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.