From 4c81ca70666cfcf89a5de9ab9d6de063b3a9301a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 12 Oct 2023 14:18:58 +0000 Subject: Fix weird scrollbars on code snippets --- app/assets/stylesheets/main/rouge.css.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/assets/stylesheets/main') diff --git a/app/assets/stylesheets/main/rouge.css.erb b/app/assets/stylesheets/main/rouge.css.erb index 1330437..123da27 100644 --- a/app/assets/stylesheets/main/rouge.css.erb +++ b/app/assets/stylesheets/main/rouge.css.erb @@ -3,7 +3,10 @@ .highlight { background-color: white; padding: 1em; - overflow-x: scroll; +} + +div.highlight { + overflow-x: auto; } .highlight .err { -- cgit 1.4.1