From d0a4b7949dc1186fb2b73ed78d36f5c762c65474 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sat, 29 Jun 2019 20:31:28 -0700 Subject: [PATCH] Hide scrollbars if not needed --- assets/sass/styles.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/sass/styles.scss b/assets/sass/styles.scss index e8ed057d24a8..2ed7db09e365 100644 --- a/assets/sass/styles.scss +++ b/assets/sass/styles.scss @@ -104,6 +104,11 @@ main { blockquote { @apply border-l-4 rounded border-orange-300 px-4 py-1 text-sm; } + + pre { + // For our code snippets, only show scrollbars if needed. + overflow: auto; + } } .link {