summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRich Bennett <rb2745@att.com>2018-10-02 19:07:48 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-02 19:07:48 +0000
commita126959e7742101ac73e11f260e5651c1d6492f6 (patch)
tree37c1f5cb8a50139ea6abb0ff61397434a9d7a83f /docs
parentdc9b43827ed8c46bcd422e58461d73120c871e26 (diff)
parent64c09816ca29ff81ea98b6f209fbc65f6c5004f8 (diff)
Merge "DOC - Fixing the width of tables and web pages"
Diffstat (limited to 'docs')
-rw-r--r--docs/_static/css/ribbon.css27
-rw-r--r--docs/_templates/layout.html2
2 files changed, 28 insertions, 1 deletions
diff --git a/docs/_static/css/ribbon.css b/docs/_static/css/ribbon.css
index b378f432d..6008cb1a0 100644
--- a/docs/_static/css/ribbon.css
+++ b/docs/_static/css/ribbon.css
@@ -34,3 +34,30 @@
background: #c11;
color: #fff;
}
+
+
+/* override table width restrictions */
+@media screen and (min-width: 767px) {
+
+ .wy-table-responsive table td, .wy-table-responsive table th {
+ /* !important prevents the common CSS stylesheets from overriding
+ this as on RTD they are loaded after this stylesheet */
+ white-space: normal !important;
+ }
+
+ .wy-table-responsive {
+ overflow: visible !important;
+ }
+}
+
+@media screen and (max-width: 767px) {
+ .wy-table-responsive table td {
+ white-space: nowrap;
+ }
+}
+
+/* fix width of the screen */
+
+.wy-nav-content {
+ max-width: none;
+}
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index ba05e829f..578452912 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -2,7 +2,7 @@
{% extends "!layout.html" %}
{# Custom CSS override for warning banner #}
-{% set css_files = css_files + ['_static/css/warning-header.css'] %}
+{% set css_files = css_files + ['_static/css/ribbon.css'] %}
{# Ribbon #}
{% block content %}