1
0
mirror of synced 2025-12-25 02:17:36 -05:00

A11y: remove horizontal scroll (#39170)

This commit is contained in:
Kevin Heis
2023-07-17 11:38:45 -07:00
committed by GitHub
parent b4152c7d91
commit 58ff4b44b9
20 changed files with 22 additions and 215 deletions

View File

@@ -5,9 +5,13 @@
border: 1px var(--color-border-default) solid;
}
pre code {
white-space: pre-wrap;
}
[class~="height-constrained-code-block"] pre {
max-height: 32rem;
overflow: auto;
overflow-y: auto;
}
[class~="code-example"] {