From 72cad2153677babe1860eaed3ccabe0cfa8fbb6e Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 2 Apr 2019 21:19:14 +0200 Subject: [PATCH] Control img size in modal box --- copanier/static/app.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/copanier/static/app.css b/copanier/static/app.css index d7a4028..1a682ba 100644 --- a/copanier/static/app.css +++ b/copanier/static/app.css @@ -426,6 +426,7 @@ hr { padding: 5px; z-index: 100; text-align: center; + overflow-y: auto; } .toggle-background { position: fixed; @@ -441,6 +442,9 @@ hr { cursor: pointer; display: none; } +.toggle-container img { + max-width: 100%; +} .toggle:checked ~ .toggle-background, .toggle:checked ~ .toggle-container { display: block;