From 717a7d550c1a78a1b2a6b587ae466d82e7cdbdc4 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 27 Sep 2019 12:40:37 +0200 Subject: [PATCH] increase size of pdfs rendered via media-tags in code preview pane --- www/code/app-code.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/code/app-code.less b/www/code/app-code.less index f6c3aa311..f07ef534d 100644 --- a/www/code/app-code.less +++ b/www/code/app-code.less @@ -92,8 +92,10 @@ * { max-width:100%; } - iframe[type="application/pdf"] { - max-height:50vh; + iframe[src$=".pdf"] { + width: 100%; + height: 80vh; + max-height: 90vh; } } .markdown_main();