From 1687e0171b0cb72c713e60ec4f29ab3caaa45e65 Mon Sep 17 00:00:00 2001 From: NightScript Date: Mon, 6 Apr 2020 23:18:34 -0700 Subject: [PATCH] Fix code blocks wrapping Before anyone asks, this is tested on dsi.cfw.guide --- _sass/minimal-mistakes/_base.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_sass/minimal-mistakes/_base.scss b/_sass/minimal-mistakes/_base.scss index d9f7df306..563b3f050 100755 --- a/_sass/minimal-mistakes/_base.scss +++ b/_sass/minimal-mistakes/_base.scss @@ -149,6 +149,7 @@ td > code { border: 1px solid $border-color; border-radius: $border-radius; box-shadow: $box-shadow; + white-space: nowrap; &:before, &:after { letter-spacing: -0.2em; @@ -313,4 +314,4 @@ nav { b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser { -webkit-transition: $global-transition; transition: $global-transition; -} \ No newline at end of file +}