X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/31af9aac0a32a20cf4111a64af65871b188bcd72..36bc3a39ef440cc1af77d7d88844cacbe6b4387d:/src/lib.rs?ds=inline diff --git a/src/lib.rs b/src/lib.rs index a7c2819..cbe9ae9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,6 +23,7 @@ const HEADER: &str = r#" tr.key > th > div { width: 1em; } tr.key > th > div > div { width: 5em; transform-origin: bottom left; transform: translateX(1em) rotate(-65deg) } td { border: thin solid gray; } + td.leftover { text-align: left; border: none; padding-left: .4em; } td.yes { border: thin solid gray; background-color: #ddd; } /* h/t https://stackoverflow.com/questions/5687035/css-bolding-some-text-without-changing-its-containers-size/46452396#46452396 */ .highlight { text-shadow: -0.06ex 0 black, 0.06ex 0 black; } @@ -260,7 +261,7 @@ fn render_row(columns: &[String], row: &mut Row) -> HTML { .collect::(); let leftovers = render_all_leftovers(row); HTML(format!( - "