Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/scss/themes/_hljs-tranquilpeak.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scss/themes/_hljs-tranquilpeak.scss b/src/scss/themes/_hljs-tranquilpeak.scss
index e374c7f..ed8eecb 100755
--- a/src/scss/themes/_hljs-tranquilpeak.scss
+++ b/src/scss/themes/_hljs-tranquilpeak.scss
@@ -5,6 +5,11 @@ pre > code {
color: map-get($highlight-colors, night-rider);
}
+// allow for horizontal scrolling of code blocks
+pre > code.codeblock {
+ overflow-x: auto;
+}
+
// Default inline code
code {
background-color: map-get($highlight, 'background');