fix: inlining code examples in upper jaw (#56119)

This commit is contained in:
Sem Bauke 2024-09-17 15:55:25 +02:00 committed by GitHub
parent d18e71991e
commit 64574f9cc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -672,9 +672,9 @@ pre code {
text-align: justify;
}
/* Port from Bootstrap as the Col component from @freecodecamp/ui
/* Port from Bootstrap as the Col component from @freecodecamp/ui
doesn't fully support the xs-8 + xs-4 layout.
TODO: Remove these and replace the classes with Col
TODO: Remove these and replace the classes with Col
once https://github.com/freeCodeCamp/ui/issues/162 is resolved. */
.col-xs-8,
.col-xs-4 {

View File

@ -269,6 +269,10 @@ textarea.inputarea {
cursor: pointer;
}
.editor-upper-jaw pre code {
white-space: pre;
}
/* overwriting default arrow styles for accessibility */
:root {
--monaco-scrollbar-arrow-box-size: 0;