From d6c8ba19500d9718ec278132ea3790c8eee1b467 Mon Sep 17 00:00:00 2001 From: HerrZatacke Date: Fri, 17 Jul 2020 13:36:16 +0200 Subject: [PATCH] optimize lightbox for small screens version 1.5.0 --- package.json | 2 +- src/javascript/app/components/Lightbox/index.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f7331443..e565b5cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gb-printer-web", - "version": "1.4.0", + "version": "1.5.0", "description": "gb-printer-web", "scripts": { "start": "webpack-dev-server --config ./scripts/webpack.dev.js", diff --git a/src/javascript/app/components/Lightbox/index.scss b/src/javascript/app/components/Lightbox/index.scss index 6bc0913d..795c8ed0 100644 --- a/src/javascript/app/components/Lightbox/index.scss +++ b/src/javascript/app/components/Lightbox/index.scss @@ -32,6 +32,10 @@ z-index: $z-index-overlay-box; overflow: hidden; + body.is-touch & { + padding-bottom: 60px; + } + @media (max-width: 480px) { width: 100vw; min-width: 320px;