From: Dan Allen Date: Tue, 31 Mar 2020 00:31:25 +0000 (-0600) Subject: fix alignment of conums and description text in conum list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=393ee71dea7fa739b45d1d593acf4ec219002e45;p=eg-antora.git fix alignment of conums and description text in conum list --- diff --git a/preview-src/index.adoc b/preview-src/index.adoc index 5cc1df7..f49c0cf 100644 --- a/preview-src/index.adoc +++ b/preview-src/index.adoc @@ -65,7 +65,8 @@ vfs .pipe(gulp.dest('build')) ---- <1> The tap function is used to wiretap the data in the pipe. -<2> Wrap streaming files in buffers so they can be processed by uglify. +<2> Wrap each streaming file in a buffer so the files can be processed by uglify. +Uglify can only work with buffers, not streams. Cum dicat #putant# ne. Est in <> homero principes, meis deleniti mediocrem ad has. diff --git a/src/css/doc.css b/src/css/doc.css index 996d8a8..16dd187 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -546,12 +546,18 @@ .doc .colist { font-size: calc(16 / var(--rem-base) * 1rem); - margin-top: 0.5rem; + margin: 0.25rem 0 -0.25rem; } -.doc .colist > table tr > td:first-of-type { - padding: 0 0.75em; - line-height: 1; +.doc .colist > table > tr > :first-child, +.doc .colist > table > tbody > tr > :first-child { + padding: 0.2rem 0.5rem 0; + vertical-align: top; +} + +.doc .colist > table > tr > :last-child, +.doc .colist > table > tbody > tr > :last-child { + padding: 0.25rem 0; } .doc .conum[data-value] {