8000 DOC Make parameter, etc listings use small screen width better (#9503) · scikit-learn/scikit-learn@cb12053 · GitHub
[go: up one dir, main page]

Skip to content

Commit cb12053

Browse files
jno
8000
thmanrth
authored andcommitted
DOC Make parameter, etc listings use small screen width better (#9503)
1 parent eed5cba commit cb12053

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/themes/scikit-learn/static/nature.css_t

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,14 @@ th.field-name {
779779
white-space: nowrap;
780780
}
781781

782+
@media screen and (max-width: 780px) {
783+
/* field lists aren't shown as a table in small screens */
784+
785+
th.field-name, td.field-body {
786+
display: block;
787+
}
788+
}
789+
782790

783791
/* -------- warning header for old versions --------------------------------*/
784792

0 commit comments

Comments
 (0)
0