Make WordPress Core

Changes between Version 6 and Version 7 of Ticket #52589, comment 23


Ignore:
Timestamp:
02/27/2021 12:46:10 PM (2 years ago)
Author:
ooker
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52589, comment 23

    v6 v7  
    44
    55If so, then how do you explain the margin-left issue? The element doesn't contained in any div, yet the margin-left attribute isn't active. However, if that element is contained in a non-supported block whose making the vertical mergin issue, then the margin-left attribute is active. Plus that you said above that the vertical margins for blocks inside content issue is "a wider scope that needs more consideration and testing."
     6
     7----
    68
    79I uncheck all the `margin-top` and `margin-bottom` of the two paragraphs, in order to make them like there is no space between them, yet these properties still have values:
     
    1113Do you know where these values come from?
    1214
     15----
     16
    1317I find out that if we add the class `inner-container` to the ''direct'' parent div of the paragraph, then the vertical margins are inherited, and the left margin are overridden. I think we can get to the conclusion:
    1418