diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-03-05 23:38:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-05 23:38:17 -0700 |
| commit | 23de0880309b9592a119c10b1302849269bb5ed9 (patch) | |
| tree | aaa3db13b4a392737ff19328badf56e9e08cad89 /data | |
| parent | abc8586bbca88ffc215edea20411af6fd592cfe1 (diff) | |
resolves #2568 collapse bottom margin of last block in AsciiDoc table cell (PR #2593)
- add content class to div surrounding AsciiDoc cell content
- collapse bottom margin of last block in AsciiDoc table cell
- simplify margin collapsing on last paragraph in normal cell
- remove unused styles
- update tests
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index d577ffc4..97943187 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -245,7 +245,8 @@ table.pyhltable .linenodiv{background:none!important;padding-right:0!important} .quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{text-align:left;word-spacing:0} .quoteblock.abstract blockquote::before,.quoteblock.abstract blockquote p:first-of-type::before{display:none} table.tableblock{max-width:100%;border-collapse:separate} -table.tableblock td>.paragraph:last-child p>p:last-child,table.tableblock th>p:last-child,table.tableblock td>p:last-child{margin-bottom:0} +p.tableblock:last-child{margin-bottom:0} +td.tableblock>.content{margin-bottom:-1.25em} table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede} table.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0} table.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0} |
