Make WordPress Core

Changeset 55103


Ignore:
Timestamp:
01/19/2023 10:55:10 PM (21 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r55099 r55103  
    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
Note: See TracChangeset for help on using the changeset viewer.