Skip to content

Commit f2694bf

Browse files
Roman Dubtsovrscohn2
authored andcommitted
Override table width restrictions from RTD theme
(cherry picked from commit 4f9aad2)
1 parent 0dc6b95 commit f2694bf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/_static/custom.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
.wy-side-nav-search, .wy-nav-top {
22
background: #4308E5;
33
}
4+
5+
/* override table width restrictions
6+
* https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html */
7+
@media screen and (min-width: 767px) {
8+
9+
.wy-table-responsive table td {
10+
/* !important prevents the common CSS stylesheets from overriding
11+
this as on RTD they are loaded after this stylesheet */
12+
white-space: normal !important;
13+
}
14+
15+
.wy-table-responsive {
16+
overflow: visible !important;
17+
}
18+
}

0 commit comments

Comments
 (0)