Paragraph margins

In GeneratePress the last p tag in .entry-content will have a margin-bottom: 0; as an override to the paragraph margin set in the customizer. In GenerateBlocks containers the last paragraph still has the bottom margin. Is this by design?

Right now I am adjusting padding-bottom on container blocks and make sure there is a paragraph at the end of the container to compensate for this. What is the idiomatic approach here?

Hi there,

the removal of margin-bottom for the last paragraph was if the paragraph block is a direct child of the content container, meaning it isn’t placed within a container block of any sort.

If you wish for this margin-bottom to be removed for ALL last-child paragraphs regardless of where it’s placed, then you can do this CSS:

* > p:last-child {
 margin-bottom: 0 !important;
}