Docs: PyAPI: Improve website responsiveness on narrow displays
- Allow long enums to break early - Allow long titles to wrap - Colloapse hlist to few collumns if needed This fixes a few of the bigger issues, some more tweaks are still needed in some places
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
.field-list > dd > p {
|
||||
max-height: 245px;
|
||||
overflow-y: auto !important;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Hide home icon in search area */
|
||||
@@ -11,3 +12,15 @@
|
||||
.wy-nav-content {
|
||||
max-width: 1000px !important;
|
||||
}
|
||||
|
||||
/* Fix long titles on mobile */
|
||||
h1, h2, h3, h4, h5, h6 {word-break: break-all}
|
||||
|
||||
/* Temp fix for https://github.com/readthedocs/sphinx_rtd_theme/pull/1109 */
|
||||
.hlist tr {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
}
|
||||
|
||||
.hlist td {margin-right: auto}
|
||||
|
Reference in New Issue
Block a user