Skip to content

Commit

Permalink
Revert "Disable word wrapping for p code (sass#281)" to fix sass#576 (
Browse files Browse the repository at this point in the history
  • Loading branch information
kauefr committed Jun 11, 2022
1 parent f92f32c commit 2421834
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions source/assets/css/visual-design/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ h3,
thead th { font-family: $sl-font-family--display; }

h2,
caption, {
caption {
font-size: $sl-font-size--x-large;

@include sl-breakpoint--medium { font-size: $sl-font-size--xx-large; }
Expand Down Expand Up @@ -179,8 +179,10 @@ code {
font-size: ($sl-font-size--small / $sl-font-size--medium) * 1em;
line-height: 1;

nav &,
p & { white-space: nowrap; }
nav & { white-space: nowrap; }
p & {
@include sl-breakpoint--x-large { white-space: nowrap; }
}
}

pre {
Expand Down

0 comments on commit 2421834

Please sign in to comment.