[wp-trac] [WordPress Trac] #52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div

WordPress Trac noreply at wordpress.org
Tue Feb 23 03:03:37 UTC 2021


#52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div
---------------------------+------------------------------
 Reporter:  ooker          |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.6.1
 Severity:  major          |  Resolution:
 Keywords:                 |     Focuses:  ui, css
---------------------------+------------------------------

Comment (by ooker):

 Yes, the problem still present if I disable all plugins. In fact, it
 presents in all other plugins, not just Stackable. It even presents in the
 widget area (no plugin involves). See for example this text in the footer:

 {{{
 <div style="text-align: center;"><p>Nơi cuối trời nằm ngay trong tầm mắt
 Tuy xa xôi nhưng muốn đến là được
 Nhớ đem theo bia rượu hay đồ nhắm
 Ra đó ngồi tha hồ ngắm nhân gian</p>
 <p>Tại nơi ấy quá khứ gặp tương lai
 Những hồi tưởng ùa về trong tiềm thức
 Bốn mùa, buồn vui, tuổi thơ, chiếc lá
 Ta gặp lại tất cả ở một nơi.</p>
 </div>
 }}}

 Also, I also have some paragraphs with the class `indent`:

 {{{

 .indent{
         margin-left:30px;
         font-style: italic;
 }
 }}}

 However, it can only italicize the text, not pushing the margin. Checking
 the devtool I see that the attribution is strikethrough. And yes I've
 disable all plugins.
 [[Image(https://i.imgur.com/PwPw8zr.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52589#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list