Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The CSS rule blockquote > p:first-child { display: inline; }
causes the first paragraph in a blockquote to be displayed inline. The second paragraph in the blockquote then sticks to the first paragraph.
Proposed resolution
Add a CSS rule blockquote > p:nth-child(2) { margin-top: 1.2em; }
which will add the proper spacing between the first and second paragraphs.
Comments
Comment #1
pfrenssenDo you have any idea why this
display: inline
is needed in the first place? Your proposal just circumvents the problem instead of fixing the root of the problem. Also I don't think it is acceptable to usenth-child
in Bartik since it is not supported in IE8.Comment #2
kpun CreditAttribution: kpun as a volunteer and commentedComment #3
kpun CreditAttribution: kpun as a volunteer and commentedComment #4
kpun CreditAttribution: kpun as a volunteer and commentedComment #5
cilefen CreditAttribution: cilefen commented@kpun How is this fixed? You did not say.
Comment #6
cilefen CreditAttribution: cilefen commented@kpun I received your direct message. That is fine, however you must comment on the issue to explain why it is "fixed" or nobody knows why you did it.
Comment #7
kpun CreditAttribution: kpun as a volunteer and commentedIt's working fine for drupal 7.27 so made it fixed . I did not looked at version this was bad on my part.
Comment #8
cilefen CreditAttribution: cilefen commentedI am marking this "Needs manual testing" because it must be checked in a variety of browsers.