Permalinks: Remove floating on Permalinks settings screen.

This changeset replaces floating elements with `flex` CSS positioning, while the markup stays the same to keep the elements' semantic value.

Follow-up to [53706].

Props sabernhardt, kebbet, audrasjb.
Fixes #56673.
See #55498.

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


git-svn-id: http://core.svn.wordpress.org/trunk@54636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-01-19 22:57:14 +00:00
parent a1b4d027f3
commit 26d9268e3c
5 changed files with 25 additions and 7 deletions

View File

@ -1083,9 +1083,18 @@ table.form-table td .updated p {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
float: right;
margin-left: 5px;
margin: 6px 0 0 5px;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-left: 0;
}
.form-table.permalink-structure .structure-selection .row {

File diff suppressed because one or more lines are too long

View File

@ -1082,9 +1082,18 @@ table.form-table td .updated p {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
float: left;
margin-right: 5px;
margin: 6px 5px 0 0;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-right: 0;
}
.form-table.permalink-structure .structure-selection .row {

File diff suppressed because one or more lines are too long

View File

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