summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2018-04-30 19:06:54 -0600
committerGitHub <noreply@github.com>2018-04-30 19:06:54 -0600
commit38608835f70d40c3ad0533bc0b3310a6ff3de10f (patch)
treeea1b92d8a0a5bbb9bb60e1df8e06456ef8bf9948 /data
parentf1a1b0c3176d3742b518362c1c6fad884826a2f4 (diff)
resolves #2392 only set nowrap style on table caption of auto-width table (PR #2725)
- add fit-content CSS class to autowidth table - only set white-space: nowrap on table caption if table has automatic width
Diffstat (limited to 'data')
-rw-r--r--data/stylesheets/asciidoctor-default.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css
index 8236f8a2..13e7d6aa 100644
--- a/data/stylesheets/asciidoctor-default.css
+++ b/data/stylesheets/asciidoctor-default.css
@@ -185,7 +185,7 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
#content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221}
.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic}
-table.tableblock>caption.title{white-space:nowrap;overflow:visible;max-width:0}
+table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
.paragraph.lead>p,#preamble>.sectionbody>[class="paragraph"]:first-of-type p{font-size:1.21875em;line-height:1.6;font-color:rgba(0,0,0,.85)}
table.tableblock #preamble>.sectionbody>.paragraph:first-of-type p{font-size:inherit}
.admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}