From 393ee71dea7fa739b45d1d593acf4ec219002e45 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 30 Mar 2020 18:31:25 -0600 Subject: [PATCH] fix alignment of conums and description text in conum list --- preview-src/index.adoc | 3 ++- src/css/doc.css | 14 ++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) 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] { -- 2.11.0