/* Keep long numpydoc parameter tables readable on narrow screens. */
.bd-content table {
    display: table;
    width: 100%;
}

/* Wide notebook outputs and API tables scroll inside their own box rather than
   forcing the whole page to scroll sideways. */
.bd-content .cell_output,
.bd-content .table-wrapper,
.bd-content div.highlight {
    overflow-x: auto;
}

/* Autosummary tables: give the name column room, keep signatures from wrapping
   mid-identifier. */
table.autosummary td:first-child {
    white-space: nowrap;
    width: 1%;
}

/* Notebook output images should never overflow the content column. */
.cell_output img {
    max-width: 100%;
    height: auto;
}
