changeset 89:c7c9825fbdf8 kai

Limit size of syntax-highlighted code blocks.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 17 Oct 2016 21:08:04 +0200
parents 45d807d2bfcc
children fbd5bca94df2
files css/octave.css
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/css/octave.css	Mon Oct 17 18:39:05 2016 +0200
+++ b/css/octave.css	Mon Oct 17 21:08:04 2016 +0200
@@ -42,6 +42,12 @@
   border: 1px solid #0790c0;
 }
 
+figure.highlight code {
+  display: block;
+  overflow-x: auto;
+  width: 100%;
+}
+
 div.alert {
   border: 2px solid #ff0000;
   padding: 5px;