Actions
Defect #42773
closedPadding in the Preview tab is larger than in the actual rendered content
Defect #42773:
Padding in the Preview tab is larger than in the actual rendered content
Resolution:
Fixed
Affected version:
Description
The paragraph padding is larger in preview mode than in the saved view.
This is caused by extra padding applied to p elements in .wiki-preview, such as in .tabular .wiki-preview p. Since this difference can be confusing, the styles were adjusted to match the saved view.
Also, the rules for .jstBlock .wiki-preview p:first-child and p:last-child were affecting paragraphs inside alert blocks (like .note-1). The selectors were updated to apply only to p elements that are direct children of .wiki-preview.
These issues are fixed by the attached patch. This patch mainly adjusts the layout during preview, and does not change the appearance of the saved view.
| Before change | After change | |
| preview | ![]() |
![]() |
| saved view | ![]() |
![]() |
Files
Actions






