Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix(style): remove whitespace setting to preserve gist indentation
Browse files Browse the repository at this point in the history
- The setting `white-space: nowrap;` strips indentation resulting in poor gist rendering. This removal should resolve that
  • Loading branch information
sheldonhull committed Feb 15, 2021
1 parent 52d07a1 commit 0f37c69
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion assets/css/_partial/_single/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ pre,
margin: 0;
padding: 0;
border: none !important;
white-space: nowrap;
}
}
}
Expand Down Expand Up @@ -401,3 +400,21 @@ pre,
}
}
}
.markdown-body {
background-color: $global-background-color;
color: $global-font-color;

.highlight {
background-color: $code-background-color;
color: $code-color;

[theme="dark"] & {
background-color: $code-background-color-dark;
color: $code-color-dark;
}
}
[theme="dark"] & {
background-color: $global-background-color-dark !important;
color: $global-font-color-dark !important;
}
}

0 comments on commit 0f37c69

Please sign in to comment.