Skip to content

Commit 325f7d0

Browse files
authored
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
1 parent d3572fc commit 325f7d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

assets/scss/_custom.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,12 @@ div.alert > em.javascript-required {
859859
margin: calc(max(4em, ( 8vh + 4em ) / 2)) 0 0.25em 0;
860860
}
861861

862+
// Consistent spacing for yaml code
863+
.language-yaml > span {
864+
height: 1.6em;
865+
overflow: hidden;
866+
}
867+
862868
.content__box
863869
{
864870
margin: 0 0 20px;

0 commit comments

Comments
 (0)