[wp-trac] [WordPress Trac] #30171: Twenty Fifteen: edit post link text can drop a line below its icon
WordPress Trac
noreply at wordpress.org
Wed Oct 29 14:27:30 UTC 2014
#30171: Twenty Fifteen: edit post link text can drop a line below its icon
------------------------------+------------------------------
Reporter: celloexpressions | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+------------------------------
Description changed by celloexpressions:
Old description:
> Let's add `white-space: nowrap;` to `.edit-post` to avoid the edit link,
> which should never take up more than a line of text on any screen size
> anyway, from dropping a line below its icon. I don't think we can do this
> for any of the other post meta, as they may take up multiple lines if
> the author name is very long or there are a lot of categories/tags,
> although we may also be able to force "leave a comment" to stay on the
> same line with its icon (and with all three words), since that's also a
> known length.
New description:
Let's add `white-space: nowrap;` to `.edit-link` to avoid the edit link,
which should never take up more than a line of text on any screen size
anyway, from dropping a line below its icon. I don't think we can do this
for any of the other post meta, as they may take up multiple lines if the
author name is very long or there are a lot of categories/tags, although
we may also be able to force "leave a comment" to stay on the same line
with its icon (and with all three words), since that's also a known
length.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30171#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list