Skip to content

Commit 7703c47

Browse files
committed
fixup! Add scientific-python-myst-theme
1 parent 31a2933 commit 7703c47

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

content/assets/css/scientific-python.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,15 @@ main {
7373
& a {
7474
color: white;
7575
text-decoration-color: white;
76-
inline-size: min-content;
7776
display: inline-block;
78-
text-wrap: nowrap;
77+
white-space: nowrap;
78+
79+
/* MyST renders external links as
80+
* <a class="whitespace-nowrap"><span class="link-text whitespace-normal">.
81+
* Override the span so multi-word labels stay on one line. */
82+
& .link-text {
83+
white-space: nowrap;
84+
}
7985
}
8086
}
8187

0 commit comments

Comments
 (0)