Skip to content

Commit b0f853f

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@55103 602fd350-edb4-49c9-b593-d223f7449a82
1 parent e4e15d1 commit b0f853f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/wp-admin/css/forms.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,9 +1082,18 @@ table.form-table td .updated p {
10821082
margin-top: 8px;
10831083
}
10841084

1085+
.form-table.permalink-structure .available-structure-tags ul {
1086+
display: flex;
1087+
flex-wrap: wrap;
1088+
margin: 8px 0 0;
1089+
}
1090+
10851091
.form-table.permalink-structure .available-structure-tags li {
1086-
float: left;
1087-
margin-right: 5px;
1092+
margin: 6px 5px 0 0;
1093+
}
1094+
1095+
.form-table.permalink-structure .available-structure-tags li:last-child {
1096+
margin-right: 0;
10881097
}
10891098

10901099
.form-table.permalink-structure .structure-selection .row {

0 commit comments

Comments
 (0)