Skip to content

GitLab - Skinny AsciiDoc by marshallwp

Details

Authormarshallwp

LicenseCC-BY-4.0

Categorygitlab

Created

Updated

Size623 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Collapses paragraph margins within list entries and table cells to resolve the weird spacing issues experienced with AsciiDoc rendering.

Notes

Applies both to pages on the gitlab.com domain and to pages on selfhosted instances, assuming the subdomain used starts with "gitlab".

Source code

/* ==UserStyle==
@name         GitLab - Skinny AsciiDoc
@version      20241113.16.58
@namespace    marshallwp
@description  Collapses paragraph margins within list entries and table cells.  This makes things much more compact and eliminates the wierd spacing issues experienced with AsciiDoc rendering.
@author       marshallwp
@license      CC-BY-4.0
==/UserStyle== */

@-moz-document url-prefix("https://gitlab."), domain("gitlab.com") {
/* Collapse paragraphs in table cells and lists entries when part of rendered markup content. */

.md li>p {margin: 0 0 0 0;}
.md td>p {margin: 0 0 0 0;}
.md th>p {margin: 0 0 0 0;}
}

Reviews

No reviews yet.