From 325f7d0eab9e8b89f1f8d157ffa4552d814c207b Mon Sep 17 00:00:00 2001 From: David Hay <89824813+hayitsdavid@users.noreply.github.com> Date: Tue, 4 Oct 2022 22:30:04 -0700 Subject: [PATCH] Consistent spacing for yaml example code (#36850) * Consistent spacing for yaml example code * consistent spacing for yaml example code when copying * ending newline added * target language-yaml class * reverting to first * fixed bracket --- assets/scss/_custom.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss index 2cb55ad3a09..ed25181c46e 100644 --- a/assets/scss/_custom.scss +++ b/assets/scss/_custom.scss @@ -859,6 +859,12 @@ div.alert > em.javascript-required { margin: calc(max(4em, ( 8vh + 4em ) / 2)) 0 0.25em 0; } +// Consistent spacing for yaml code +.language-yaml > span { + height: 1.6em; + overflow: hidden; +} + .content__box { margin: 0 0 20px;