Skip to content

Commit

Permalink
optimize lightbox for small screens
Browse files Browse the repository at this point in the history
version 1.5.0
  • Loading branch information
HerrZatacke committed Jul 17, 2020
1 parent a2e061c commit d6c8ba1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 4 additions & 0 deletions src/javascript/app/components/Lightbox/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6c8ba1

Please sign in to comment.