forked from Github/ocrcc-chatbox
fix viewport width
This commit is contained in:
parent
4b5bb34261
commit
06a24562bc
@ -2,6 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Embeddable Chatbox Demo</title>
|
<title>Embeddable Chatbox Demo</title>
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p style="font-family:sans-serif; padding: 3rem 5rem;">
|
<p style="font-family:sans-serif; padding: 3rem 5rem;">
|
||||||
|
@ -124,13 +124,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 400px){
|
@media screen and (max-width: 420px){
|
||||||
.docked-widget {
|
.docked-widget {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dock, .widget {
|
.dock, .widget {
|
||||||
|
width: 100vw;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user