[wp-trac] [WordPress Trac] #55557: Reduce CSS-float in admin
WordPress Trac
noreply at wordpress.org
Thu Jul 21 22:47:19 UTC 2022
#55557: Reduce CSS-float in admin
-------------------------------------+---------------------
Reporter: kebbet | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: css
-------------------------------------+---------------------
Comment (by sabernhardt):
No, button elements need to keep their `button` role. That's more
important than the list.
''Without changing the markup'', I can get the same margins that the PR
has by replacing the old `li` float and margin with this:
{{{
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 6px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
margin: 8px 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-right: 0;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55557#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list