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
pull/37158/head
David Hay 2022-10-04 22:30:04 -07:00 committed by GitHub
parent d3572fc95a
commit 325f7d0eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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;