From 1dabbc89e9366c53ebd0c9efda4dc6a2e34db75e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 17 Jan 2019 19:05:17 +0100 Subject: Window: better layout for images --- scss/custom.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scss') diff --git a/scss/custom.scss b/scss/custom.scss index 5b5bb0a9d..c074656fc 100644 --- a/scss/custom.scss +++ b/scss/custom.scss @@ -554,12 +554,21 @@ ul.compact{ width: 200px; } +.window-main-image { + height:300px; + display: block; +} + .thumb-image{ height: 200px; +} + +.window-main-image, .thumb-image{ position: relative; overflow: hidden; } +.window-main-image img, .thumb-image img{ display: inline-block; max-width: 100%; -- cgit v1.2.3