mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(ui): remove horizontal scrollbar from text only code elements (#50881)
This commit is contained in:
@@ -18,6 +18,11 @@ pre[class*='language-'] {
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
/* remove horizontal scrollbars for text-only code */
|
||||
code[class='language-markup'] {
|
||||
white-space: normal !important;
|
||||
}
|
||||
|
||||
/* a11y color adjustments */
|
||||
:not(.dark-palette) .token.comment,
|
||||
:not(.dark-palette) .token.prolog,
|
||||
|
||||
Reference in New Issue
Block a user