From ee5e4f63c55c1a39984d349d46c0a8d83c19e506 Mon Sep 17 00:00:00 2001 From: Mick Semb Wever Date: Mon, 7 Jan 2019 07:48:10 +1100 Subject: [PATCH] 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 --- doc/source/_static/extra.css | 7 +++++++ doc/source/_theme/cassandra_theme/layout.html | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/source/_static/extra.css b/doc/source/_static/extra.css index fd3573f069..715e2a850e 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%; +} diff --git a/doc/source/_theme/cassandra_theme/layout.html b/doc/source/_theme/cassandra_theme/layout.html index c7c2bffbd5..186e043fda 100644 --- a/doc/source/_theme/cassandra_theme/layout.html +++ b/doc/source/_theme/cassandra_theme/layout.html @@ -39,7 +39,7 @@ extra-footer: ' ---
-
+