Code Modernization: Reduce CSS float usage in wp-admin - Timezone settings.

This changeset is a part of a task dedicated to improve wp-admin CSS code with less floating, as float never was intended for layout. The idea is to gradually replace floating methods that take the HTML element out of the normal flow of the document with more modern and robust positioning methods.

Props kebbet.
See #55557.

Built from https://develop.svn.wordpress.org/trunk@54185


git-svn-id: http://core.svn.wordpress.org/trunk@53744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-15 22:59:11 +00:00
parent 47d61a73ef
commit 44569531b2
5 changed files with 15 additions and 17 deletions

View File

@ -777,6 +777,12 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@ -1637,13 +1643,6 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}

File diff suppressed because one or more lines are too long

View File

@ -776,6 +776,12 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@ -1636,13 +1642,6 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}

File diff suppressed because one or more lines are too long

View File

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