/* Sphinx's nowrap tokens can exceed the viewport for qualified Java signatures. */
dl.java .pre {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Wide Javadoc tables scroll within the content column instead of the page. */
.java-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

/* Code in table cells stays whole; the table scrolls instead. */
table.java-table code .pre {
    white-space: pre;
    overflow-wrap: normal;
}

/* Java summaries: names wrap between parameters, and anywhere on small screens. */
table.java.autosummary .pre {
    white-space: normal;
}

@media (max-width: 600px) {
    table.java.autosummary td {
        overflow-wrap: anywhere;
    }
}
