From 8802fd7f5c8a7ee6aafa30fc128a6607d658b57e Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Sun, 3 Jun 2018 14:12:21 +0300 Subject: [PATCH] less container shadow, use full screen on phones --- react/package-lock.json | 28 +++++++++++++++++++++------- react/src/components/Container.css | 8 +++++++- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/react/package-lock.json b/react/package-lock.json index 1e887f9..464f203 100644 --- a/react/package-lock.json +++ b/react/package-lock.json @@ -4038,11 +4038,13 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true + "bundled": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -4055,15 +4057,18 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "concat-map": { "version": "0.0.1", - "bundled": true + "bundled": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -4166,7 +4171,8 @@ }, "inherits": { "version": "2.0.3", - "bundled": true + "bundled": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -4176,6 +4182,7 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -4188,17 +4195,20 @@ "minimatch": { "version": "3.0.4", "bundled": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true + "bundled": true, + "optional": true }, "minipass": { "version": "2.2.4", "bundled": true, + "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -4215,6 +4225,7 @@ "mkdirp": { "version": "0.5.1", "bundled": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -4287,7 +4298,8 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true + "bundled": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -4297,6 +4309,7 @@ "once": { "version": "1.4.0", "bundled": true, + "optional": true, "requires": { "wrappy": "1" } @@ -4402,6 +4415,7 @@ "string-width": { "version": "1.0.2", "bundled": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", diff --git a/react/src/components/Container.css b/react/src/components/Container.css index 387c75f..d9b70a6 100644 --- a/react/src/components/Container.css +++ b/react/src/components/Container.css @@ -18,7 +18,13 @@ body { max-width: 25rem; border: 1px solid #dddddd; border-radius: 7px; - box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); + box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); +} + +@media only screen and (max-width: 600px) { + #container { + max-width: 100%; + } } #user-header {