diff options
-rw-r--r-- | mandoc.css | 7 | ||||
-rw-r--r-- | mdoc_html.c | 12 |
2 files changed, 6 insertions, 13 deletions
@@ -119,7 +119,8 @@ td.foot-os { text-align: right; } .Bl-ohang > dt { } .Bl-ohang > dd { margin-left: 0em; } -.Bl-tag { margin-left: 5.5em; } +.Bl-tag { margin-top: 0.6em; + margin-left: 5.5em; } .Bl-tag > dt { float: left; margin-top: 0em; @@ -131,8 +132,12 @@ td.foot-os { text-align: right; } width: 100%; margin-top: 0em; margin-left: 0em; + margin-bottom: 0.6em; vertical-align: top; overflow: auto; } +.Bl-compact { margin-top: 0em; } +.Bl-compact > dd { + margin-bottom: 0em; } .Bl-compact > dt { margin-top: 0em; } diff --git a/mdoc_html.c b/mdoc_html.c index f2fa1eca..83b19a3e 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -741,7 +741,6 @@ static int mdoc_it_pre(MDOC_ARGS) { const struct roff_node *bl; - struct tag *t; enum mdoc_list type; bl = n->parent; @@ -783,17 +782,6 @@ mdoc_it_pre(MDOC_ARGS) case LIST_tag: switch (n->type) { case ROFFT_HEAD: - if (h->style != NULL && !bl->norm->Bl.comp && - (n->parent->prev == NULL || - n->parent->prev->body == NULL || - n->parent->prev->body->child != NULL)) { - t = print_otag(h, TAG_DT, ""); - print_text(h, "\\ "); - print_tagq(h, t); - t = print_otag(h, TAG_DD, ""); - print_text(h, "\\ "); - print_tagq(h, t); - } print_otag(h, TAG_DT, ""); break; case ROFFT_BODY: |