fix(client): code blocks overflowing parents (#41438)

This commit is contained in:
Patrick Franz
2021-03-22 21:53:57 -07:00
committed by GitHub
parent fd5e6eebfb
commit 0190c19411
3 changed files with 6 additions and 0 deletions

View File

@@ -388,6 +388,7 @@ code {
color: var(--tertiary-color); color: var(--tertiary-color);
border-radius: 0px; border-radius: 0px;
font-family: 'Roboto Mono', monospace; font-family: 'Roboto Mono', monospace;
overflow-wrap: anywhere;
} }
.panel { .panel {

View File

@@ -7,6 +7,10 @@ pre[class*='language-'] {
background: var(--primary-background); background: var(--primary-background);
} }
pre[class*='language'] code[class*='language-'] {
white-space: nowrap;
}
* { * {
text-shadow: none !important; text-shadow: none !important;
} }

View File

@@ -37,6 +37,7 @@
.video-quiz-options > label { .video-quiz-options > label {
margin: 0; margin: 0;
align-items: center; align-items: center;
overflow-x: scroll;
} }
.video-quiz-option-label { .video-quiz-option-label {