Skip to content

Commit 99af6bd

Browse files
Nowrap of first column HTML table for autosummary (pandas-dev#26)
1 parent 0b93bd8 commit 99af6bd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pandas_sphinx_theme/static/sphinx-bootstrap.css_t

+9
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,15 @@ table td.data, table th.row_heading table th.col_heading {
161161
text-align: right;
162162
}
163163

164+
/**
165+
* Styling for autosummary tables
166+
*/
167+
168+
/* The first column (with the signature) should not wrap */
169+
td:first-child {
170+
white-space: nowrap;
171+
}
172+
164173

165174
/**
166175
* See also

0 commit comments

Comments
 (0)