commit 11eea36e32ea317ee90666162a925fe6550da203
parent fc57dd624a9d7d25e514ac9009395f6826b8b8d0
Author: Matthew Butterick <mbutterick@users.noreply.github.com>
Date: Thu, 3 Nov 2016 10:26:46 -0700
fix text wrapping of margin notes within code samples (#63)
Code samples use `pre`, which will cascade into the margin note unless stopped.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 {