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.


git-svn-id: https://develop.svn.wordpress.org/trunk@54185 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-09-15 22:57:52 +00:00
parent 72178ec839
commit d4c62394e1

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;
}