Closed h-enk closed 9 months ago
See aslo https://github.com/twbs/bootstrap/issues/3286#issuecomment-17540200:
pre {
overflow-x: auto;
}
pre code {
word-wrap: normal;
white-space: pre;
}
Bootstrap:
code,
kbd,
pre,
samp {
font-family: var(--bs-font-monospace);
font-size: 1em
}
pre {
display: block;
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
font-size: .875em
}
pre code {
font-size: inherit;
color: inherit;
word-break: normal
}
code {
font-size: .875em;
color: var(--bs-code-color);
word-wrap: break-word
}
a>code {
color: inherit
}
Resources