From 1df5ce8b3e268d11a24b12bbc9a06a423cd1661b Mon Sep 17 00:00:00 2001 From: Anuj Nair Date: Tue, 8 Sep 2015 22:40:45 -0700 Subject: [PATCH 1/2] Fixing coy theme + line numbers plugin overflowing on long blocks of text --- themes/prism-coy.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/prism-coy.css b/themes/prism-coy.css index 39bfc9fe59..7b50928a18 100644 --- a/themes/prism-coy.css +++ b/themes/prism-coy.css @@ -47,7 +47,7 @@ pre[class*="language-"] { } code[class*="language"] { - max-height: inherit; + max-height: 28.5em; height: 100%; padding: 0 1em; display: block; From 47bf31aefbf3844ddb92e3dab528e0ea50ede233 Mon Sep 17 00:00:00 2001 From: Anuj Nair Date: Wed, 9 Sep 2015 12:22:05 -0700 Subject: [PATCH 2/2] Fixing coy theme + line numbers plugin when used in conjunction with bootstrap. --- themes/prism-coy.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/prism-coy.css b/themes/prism-coy.css index 7b50928a18..fbd559c9e5 100644 --- a/themes/prism-coy.css +++ b/themes/prism-coy.css @@ -44,10 +44,11 @@ pre[class*="language-"] { background-origin: content-box; overflow: visible; max-height: 30em; + padding: 0; } code[class*="language"] { - max-height: 28.5em; + max-height: inherit; height: 100%; padding: 0 1em; display: block;