WeGA-WebApp icon indicating copy to clipboard operation
WeGA-WebApp copied to clipboard

margin-bottom between <p> and <div class="tei_egXML"> in guidelines (/index)

Open SteffenAstheimer opened this issue 3 months ago • 0 comments

-elements inherit an extra margin-bottom from _base.scss if they are the last paragraph in a .tab-pane :

.tab-content .tab-pane:not(#backlinks) div p:last-of-type, .tab-content .tab-pane:not(#backlinks) div ol:last-of-type, .tab-content .tab-pane:not(#backlinks) div dl:last-of-type, .tab-content .tab-pane:not(#backlinks) div ul:last-of-type, .tab-content .tab-pane:not(#backlinks) div .abstract:last-child, .tab-content .tab-pane:not(#backlinks) div .card { margin-bottom: 30px; }

That leads to unwanted spacing if they are followed by an example block in the guidelines (see 2.2.5 Literatur).

SteffenAstheimer avatar Oct 02 '25 09:10 SteffenAstheimer