fix viewport width

This commit is contained in:
Sharon Kennedy 2020-02-17 18:22:54 +01:00
parent 4b5bb34261
commit 06a24562bc
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
<html>
<head>
<title>Embeddable Chatbox Demo</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1">
</head>
<body>
<p style="font-family:sans-serif; padding: 3rem 5rem;">

View File

@ -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;
}
}