make nav code not wrap

This commit is contained in:
Jina Anne 2019-03-04 16:55:24 -08:00
parent 096c6512f3
commit 97042a5a28
2 changed files with 8 additions and 12 deletions

View File

@ -11,15 +11,4 @@
&:first-child { margin-top: 0; }
&:last-child { margin-bottom: 0; }
&--small {
margin: {
top: 0;
bottom: 0;
};
padding: {
top: 0;
bottom: 0;
};
}
}

View File

@ -155,10 +155,17 @@ h4 { font-size: $sl-font-size--large; }
}
code,
pre { font-family: $sl-font-family--code; }
pre {
font: {
size: $sl-font-size--small;
family: $sl-font-family--code;
}
}
code {
line-height: 1;
nav &,
p & { white-space: nowrap; }
}