From 5d4de413c0e8fe9d8c3637fa5263b154737b1561 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marianne=20L=C3=AA?=
 <63270221+iridazzle@users.noreply.github.com>
Date: Thu, 21 Jul 2022 13:09:44 -0500
Subject: [PATCH] adds `overflow-x: auto` to `figure.highlight` (#727)

without overflow-x: auto; a very long line of code will overflow the box and look awkward


Co-authored-by: Matt Wang <matt@matthewwang.me>
---
 _sass/code.scss | 1 +
 1 file changed, 1 insertion(+)

diff --git a/_sass/code.scss b/_sass/code.scss
index 6ad832f4..1311fc2f 100644
--- a/_sass/code.scss
+++ b/_sass/code.scss
@@ -75,6 +75,7 @@ figure.highlight {
   padding: $sp-3;
   margin-top: 0;
   margin-bottom: $sp-3;
+  overflow-x: auto;
   background-color: $code-background-color;
   border-radius: $border-radius;
   box-shadow: none;
-- 
GitLab