From 6202a4eedb1a9f73c9613de3b72e0f37d320743e Mon Sep 17 00:00:00 2001 From: Lars L Date: Mon, 21 Mar 2022 17:14:50 +0100 Subject: [PATCH] shadow fix --- app/themes/onepage_light/theme.css | 7 +++++-- app/themes/sidebar_dark/theme.css | 2 +- app/themes/sidebar_dark_full_width/theme.css | 2 +- app/themes/sidebar_light/theme.css | 2 +- app/themes/sidebar_light_full_width/theme.css | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/themes/onepage_light/theme.css b/app/themes/onepage_light/theme.css index ad98221..d2e90b4 100644 --- a/app/themes/onepage_light/theme.css +++ b/app/themes/onepage_light/theme.css @@ -611,13 +611,16 @@ figure .source { } .lightbox-opened img { - box-shadow: 0 0 6px 3px #33333352;; + box-shadow: 0 2px 8px #3333335e; } .lightbox-opened img { - max-width: 100%; + max-width: calc(100% - 50px); border-radius: 10px; max-height: calc(100% - 48px); + position: fixed; + left: 0; + margin: 0 25px; } .no-scroll { diff --git a/app/themes/sidebar_dark/theme.css b/app/themes/sidebar_dark/theme.css index d01ac94..c2abb32 100644 --- a/app/themes/sidebar_dark/theme.css +++ b/app/themes/sidebar_dark/theme.css @@ -51,7 +51,7 @@ html, body { font-family: inter-var, -apple-system, BlinkMacSystemFont, "Segoe U } .lightbox-opened img { - box-shadow: 0 0 6px 3px #33333352;; + box-shadow: 0 2px 8px #3333335e; } .lightbox-opened img { diff --git a/app/themes/sidebar_dark_full_width/theme.css b/app/themes/sidebar_dark_full_width/theme.css index 49fe26f..2a3810f 100644 --- a/app/themes/sidebar_dark_full_width/theme.css +++ b/app/themes/sidebar_dark_full_width/theme.css @@ -51,7 +51,7 @@ html, body { font-family: inter-var, -apple-system, BlinkMacSystemFont, "Segoe U } .lightbox-opened img { - box-shadow: 0 0 6px 3px #33333352;; + box-shadow: 0 2px 8px #3333335e; } .lightbox-opened img { diff --git a/app/themes/sidebar_light/theme.css b/app/themes/sidebar_light/theme.css index 422df83..4c57979 100644 --- a/app/themes/sidebar_light/theme.css +++ b/app/themes/sidebar_light/theme.css @@ -584,7 +584,7 @@ article .block-color-gray { } .lightbox-opened img { - box-shadow: 0 0 6px 3px #33333352;; + box-shadow: 0 2px 8px #3333335e; } .lightbox-opened img { diff --git a/app/themes/sidebar_light_full_width/theme.css b/app/themes/sidebar_light_full_width/theme.css index 58612a5..cd2db09 100644 --- a/app/themes/sidebar_light_full_width/theme.css +++ b/app/themes/sidebar_light_full_width/theme.css @@ -573,7 +573,7 @@ article .block-color-teal_background { } .lightbox-opened img { - box-shadow: 0 0 6px 3px #33333352;; + box-shadow: 0 2px 8px #3333335e; } .lightbox-opened img {