You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by js...@apache.org on 2016/03/23 17:01:01 UTC
[2/3] trafficserver git commit: docs: attribution on wide table
styling override
docs: attribution on wide table styling override
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/eeb001cf
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/eeb001cf
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/eeb001cf
Branch: refs/heads/master
Commit: eeb001cfad9702bff2d29247fe726c9574228894
Parents: 366129e
Author: Jon Sime <js...@apache.org>
Authored: Wed Mar 23 15:15:27 2016 +0000
Committer: Jon Sime <js...@apache.org>
Committed: Wed Mar 23 16:00:42 2016 +0000
----------------------------------------------------------------------
doc/static/override.css | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/eeb001cf/doc/static/override.css
----------------------------------------------------------------------
diff --git a/doc/static/override.css b/doc/static/override.css
index 486b909..1ab1e71 100644
--- a/doc/static/override.css
+++ b/doc/static/override.css
@@ -4,7 +4,11 @@ dd {
line-height: 24px;
}
-/* override table contents wrapping */
+/*
+ Following two styles fix the problem with wide tables introducing a horizontal
+ scrollbar, instead of the much more desired behavior of wrapping cell contents.
+ Source: https://github.com/snide/sphinx_rtd_theme/issues/117#issuecomment-41506687
+*/
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}
@@ -14,6 +18,7 @@ dd {
max-width: 100%;
overflow: visible;
}
+
/* pre inside paragraphs gets weird spacing */
span.pre {
line-height: initial;