jackson 11 сар өмнө
parent
commit
cba934c74b

+ 1 - 1
example/public/index.html

@@ -3,7 +3,7 @@
   <head>
     <meta charset="utf-8" />
     <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
+    <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no,initial-scale=1,viewport-fit=cover" />
     <meta name="theme-color" content="#000000" />
 
     <!--

+ 6 - 4
example/src/index.css

@@ -217,22 +217,23 @@ a:hover {
 
 .chat-area .send {
   display: flex;
-  gap: 8px;
+  justify-content: space-between;
   margin-top: 16px;
 }
 
 .chat-area .send .input {
-  flex: 1;
-  padding: 5px 10px;
+  width: calc(100% - 60px);
+  padding: 0 10px;
   font-size: 14px;
   color: #000;
   border: none;
   border-radius: 4px;
   outline: none;
+  box-sizing: border-box;
 }
 
 .chat-btn {
-  width: 62px;
+  width: 52px;
   height: 38px;
   font-size: 14px;
   color: #000;
@@ -243,6 +244,7 @@ a:hover {
 }
 
 .chat-btn.round {
+  width: 64px;
   border-radius: 19px;
   margin: 0 6px;
   display: none;