]> git.0d.be Git - panikdb.git/commitdiff
wiki: limit display height of images
authorFrédéric Péters <fpeters@0d.be>
Thu, 25 Jun 2020 05:51:27 +0000 (07:51 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 25 Jun 2020 05:51:27 +0000 (07:51 +0200)
panikdb/static/css/style.scss

index 9ead70cdc610aeed27b7809ee3f399d05f918bc3..2a2cfe14e7d185db8d470e579a18ba684a212b3f 100644 (file)
@@ -765,6 +765,7 @@ div.wiki-section {
                line-height: initial;
                img {
                        max-width: 90%;
+                       max-height: 70vh;
                }
                span.empty::before {
                        margin: 0 auto;