[wp-trac] [WordPress Trac] #48648: Inconsistent length of .action-links DIV in plugin card
WordPress Trac
noreply at wordpress.org
Fri Feb 14 19:35:36 UTC 2020
#48648: Inconsistent length of .action-links DIV in plugin card
-------------------------------------------------+-------------------------
Reporter: kharisblank | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.4
Component: Plugins | Version: 5.3
Severity: normal | Resolution:
Keywords: has-screenshots good-first-bug has- | Focuses: ui,
patch | administration
-------------------------------------------------+-------------------------
Comment (by sabernhardt):
@paresh07 Thanks! And when creating your next patch, you will want to
start from the main directory (wordpress-svn) instead of the "src"
directory. (I've made that mistake before.)
Removing the `2em` left margin keeps the "More details" link on one line
when the primary action link is short, and larger action links continue to
be aligned to the right side.
Patch `48648.diff` has two edits:
1. Removing the left margin instead of re-setting it to zero
2. Adding a slight spacing between the description and the action link
container (the icon is 128px, so I added 8 to the current margin value of
120)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48648#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list