Repository: cassandra Updated Branches: refs/heads/cassandra-3.11 9755e2607 -> ee5e4f63c refs/heads/trunk 973e72b0c -> b22756420
Docs: Fix page width exceeding the viewport Closes #175 #176 patch by Sahal Sajjad, Stefan Podkowinski; reviewed by Stefan Podkowinski, Mick Semb Wever for CASSANDRA-14065 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ee5e4f63 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ee5e4f63 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ee5e4f63 Branch: refs/heads/cassandra-3.11 Commit: ee5e4f63c55c1a39984d349d46c0a8d83c19e506 Parents: 9755e26 Author: Mick Semb Wever <[email protected]> Authored: Mon Jan 7 07:48:10 2019 +1100 Committer: Mick Semb Wever <[email protected]> Committed: Mon Jan 7 07:48:10 2019 +1100 ---------------------------------------------------------------------- doc/source/_static/extra.css | 7 +++++++ doc/source/_theme/cassandra_theme/layout.html | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/ee5e4f63/doc/source/_static/extra.css ---------------------------------------------------------------------- diff --git a/doc/source/_static/extra.css b/doc/source/_static/extra.css index fd3573f..715e2a8 100644 --- a/doc/source/_static/extra.css +++ b/doc/source/_static/extra.css @@ -50,3 +50,10 @@ div#wipwarning { padding: 10px 30px; margin-bottom: 30px; } +.content-container{ + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; + width:100%; +} http://git-wip-us.apache.org/repos/asf/cassandra/blob/ee5e4f63/doc/source/_theme/cassandra_theme/layout.html ---------------------------------------------------------------------- diff --git a/doc/source/_theme/cassandra_theme/layout.html b/doc/source/_theme/cassandra_theme/layout.html index c7c2bff..186e043 100644 --- a/doc/source/_theme/cassandra_theme/layout.html +++ b/doc/source/_theme/cassandra_theme/layout.html @@ -39,7 +39,7 @@ extra-footer: ' --- <div class="container-fluid"> <div class="row"> - <div class="col-md-2"> + <div class="col-md-3"> <div class="doc-navigation"> <div class="doc-menu" role="navigation"> <div class="navbar-header"> @@ -73,7 +73,7 @@ extra-footer: ' </div> <div class="col-md-8"> <div class="content doc-content"> - <div class="container"> + <div class="content-container"> {% block body %}{% endblock %} {% if next or prev %} @@ -89,7 +89,5 @@ extra-footer: ' </div> </div> </div> - <div class="col-md-2"> - </div> </div> </div> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
