From 06a24562bcfbe437993f526442c6129d734f45ac Mon Sep 17 00:00:00 2001 From: Sharon Kennedy Date: Mon, 17 Feb 2020 18:22:54 +0100 Subject: [PATCH] fix viewport width --- public/index.html | 1 + src/components/_widget.scss | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 1d3477a..ee67378 100644 --- a/public/index.html +++ b/public/index.html @@ -2,6 +2,7 @@ Embeddable Chatbox Demo +

diff --git a/src/components/_widget.scss b/src/components/_widget.scss index 214d937..f29cb15 100644 --- a/src/components/_widget.scss +++ b/src/components/_widget.scss @@ -124,13 +124,14 @@ } } -@media screen and (max-width: 400px){ +@media screen and (max-width: 420px){ .docked-widget { right: 0; left: 0; } .dock, .widget { + width: 100vw; max-width: 100vw; } } \ No newline at end of file