diff --git a/template/assets/css/scientific-python.css b/template/assets/css/scientific-python.css index 8c4c590..8edb5e5 100644 --- a/template/assets/css/scientific-python.css +++ b/template/assets/css/scientific-python.css @@ -73,9 +73,15 @@ main { & a { color: white; text-decoration-color: white; - inline-size: min-content; display: inline-block; - text-wrap: nowrap; + white-space: nowrap; + + /* MyST renders external links as + * . + * Override the span so multi-word labels stay on one line. */ + & .link-text { + white-space: nowrap; + } } }