[wp-trac] [WordPress Trac] #28967: Twenty Fourteen: Click on Continue Reading, and first line Covered
WordPress Trac
noreply at wordpress.org
Sat Oct 5 04:31:26 UTC 2019
#28967: Twenty Fourteen: Click on Continue Reading, and first line Covered
-------------------------------------------------+-------------------------
Reporter: Quantumstate | Owner:
| ianbelanger
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.3
Component: Bundled Theme | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch needs-testing has- | Focuses: 2014
screenshots needs-refresh |
-------------------------------------------------+-------------------------
Comment (by sabernhardt):
The refreshed patch includes a top margin for the non-heading element
follows the Read More tag when using the block editor (headings already
have a good margin). The classic editor Read More tag has a fixed height
and floats, which adds height when at the end of a paragraph but not when
it is in its own paragraph.
{{{
/* Block Editor adjustment */
.entry-content span[id^="more-"] + blockquote,
.entry-content span[id^="more-"] + div,
.entry-content span[id^="more-"] + figure,
.entry-content span[id^="more-"] + hr,
.entry-content span[id^="more-"] + ol,
.entry-content span[id^="more-"] + ul,
.entry-content span[id^="more-"] + p,
.entry-content span[id^="more-"] + pre {
margin-top: 24px;
}
/* Classic Editor adjustment */
.entry-content p span[id^="more-"] {
width: 1px;
height: 24px;
float: left;
}
}}}
The selector here is also switched to `span[id^="more-"]` to be a little
extra specific (starts with "more-" instead of contains).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28967#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list