From 11eea36e32ea317ee90666162a925fe6550da203 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Thu, 3 Nov 2016 10:26:46 -0700 Subject: [PATCH] fix text wrapping of margin notes within code samples (#63) Code samples use `pre`, which will cascade into the margin note unless stopped. --- scribble-lib/scribble/scribble.css | 1 + 1 file changed, 1 insertion(+) diff --git a/scribble-lib/scribble/scribble.css b/scribble-lib/scribble/scribble.css index 9733e69d..b1ff5b53 100644 --- a/scribble-lib/scribble/scribble.css +++ b/scribble-lib/scribble/scribble.css @@ -194,6 +194,7 @@ table td { font-size: 85%; border: 0.5em solid #F5F5DC; margin: 0 0 0 0; + white-space: normal; /* in case margin note is inside code sample */ } .refcontent {