From 20874c76f191663f55ccc7498d74c7d071af0f1f Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 14 Jun 2017 18:56:40 +0200 Subject: [PATCH] prevent code blocks from overflowing slides --- www/slide/slide.css | 2 ++ www/slide/slide.less | 2 ++ 2 files changed, 4 insertions(+) diff --git a/www/slide/slide.css b/www/slide/slide.css index 945a05846..922ec230a 100644 --- a/www/slide/slide.css +++ b/www/slide/slide.css @@ -300,6 +300,8 @@ body .CodeMirror-focused .cm-matchhighlight { width: 90%; margin: auto; padding-left: .25vw; + overflow-x: auto; + overflow-y: hidden; } .cp div#modal #content .slide-frame ul, .cp #print .slide-frame ul, diff --git a/www/slide/slide.less b/www/slide/slide.less index 82bcf9c82..a05113731 100644 --- a/www/slide/slide.less +++ b/www/slide/slide.less @@ -266,6 +266,8 @@ div#modal #content, #print { width: 90%; margin: auto; padding-left: .25vw; + overflow-x: auto; + overflow-y: hidden; } ul, ol {