From 1ca15d75b89f6bb4d20b07102501861271ac9419 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Fri, 3 May 2019 10:47:03 +0200 Subject: [PATCH] fix: remove unnecessary selector, fix inline code and other issues --- .../components/challenge-description.css | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/client/src/templates/Challenges/components/challenge-description.css b/client/src/templates/Challenges/components/challenge-description.css index 480c97a48e..6e9326a1ef 100644 --- a/client/src/templates/Challenges/components/challenge-description.css +++ b/client/src/templates/Challenges/components/challenge-description.css @@ -2,28 +2,26 @@ font-size: 16px; } - .challenge-instructions blockquote, .challenge-instructions pre, .challenge-instructions pre[class*="language-"] { + .challenge-instructions blockquote, .challenge-instructions pre { background-color: #eee; color: #c7254e; padding: 10px 10px 10px 15px; width: 100%; margin: 0; margin-bottom: 1.45rem; - font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier, monospace; + font-family: monospace; font-size: 16px; word-spacing: normal; word-break: normal; - word-wrap: normal; + word-wrap: break-word; border: unset; } -.challenge-instructions code { - text-shadow: initial; - font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier, monospace; - color: #c7254e; -} - .challenge-instructions pre code { white-space: pre-wrap; - line-height: 1.42; + word-wrap: break-word; + line-height: 1.42857143; + text-shadow: initial; + font-family: monospace; + color: #c7254e; }