trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From js...@apache.org
Subject [2/3] trafficserver git commit: docs: attribution on wide table styling override
Date Wed, 23 Mar 2016 16:01:01 GMT
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 <jsime@apache.org>
Authored: Wed Mar 23 15:15:27 2016 +0000
Committer: Jon Sime <jsime@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;


Mime
View raw message