fix(ui): remove horizontal scrollbar from text only code elements (#50881)

This commit is contained in:
Bruce Blaser
2023-07-05 02:23:17 -07:00
committed by GitHub
parent f132c7e644
commit e10b025d26
+5
View File
@@ -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,