diff --git a/src/presentation/components/Scripts/View/Tree/NodeContent/Documentation/DocumentationText.vue b/src/presentation/components/Scripts/View/Tree/NodeContent/Documentation/DocumentationText.vue index 4e11177b..2e08ee31 100644 --- a/src/presentation/components/Scripts/View/Tree/NodeContent/Documentation/DocumentationText.vue +++ b/src/presentation/components/Scripts/View/Tree/NodeContent/Documentation/DocumentationText.vue @@ -100,20 +100,27 @@ $text-size: 0.75em; // Lower looks bad on Firefox } } } - /* - Different browsers have different
, we should even this out. - See CSS 2.1 specification https://www.w3.org/TR/CSS21/sample.html. - */ - p { + @mixin set-paragraph-vertical-gap($paragraph-vertical-gap) { + p { + /* + Remove default browser margin on paragraphs to ensure: + 1. A markdown text represented as a list (e.g.
` usage) does not introduce top spacing. + 3. Uniformity, so margin can be set consistently across browsers. + */ + margin: 0; + } /* - Remove surrounding padding so a markdown text that is a list (e.g.