You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/08/01 13:27:44 UTC
[camel-website] branch master updated: fix: don't hyphenate content
in tables
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 9020b82 fix: don't hyphenate content in tables
9020b82 is described below
commit 9020b82bfd5b4c77aa510b5479460710cd8d1d65
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Thu Aug 1 15:27:39 2019 +0200
fix: don't hyphenate content in tables
With hyphenation turned on for tables the component/endpoint options are
difficult to understand for example an option might be rendered as:
```
exception-
Handler
(consumer)
```
Which is confusing. So this turns off hyphenation for `p` tags within
`td` tags.
---
antora-ui-camel/src/css/doc.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/antora-ui-camel/src/css/doc.css b/antora-ui-camel/src/css/doc.css
index 1a62372..1b452e8 100644
--- a/antora-ui-camel/src/css/doc.css
+++ b/antora-ui-camel/src/css/doc.css
@@ -99,6 +99,7 @@
.doc p,
.doc :not(td) > .content,
+.doc :not(td) > p,
.doc .tableblock thead {
hyphens: auto;
}