Keldos commited on
Commit
14a6582
1 Parent(s): 1e4e3c0

WIP: 修复一些问题

Browse files

- 全面屏对话消息适配~
- 使用用户登录时可能可以加载出apple touch icon了?如果还是不行我也不会了,学艺不精。

modules/webui.py CHANGED
@@ -63,8 +63,8 @@ def reload_javascript():
63
  <meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover'>
64
  <meta name="theme-color" content="#ffffff">
65
 
66
- <link rel="apple-touch-icon-precomposed" href="/file=web_assets/icon/mask-icon-512.png" >
67
- <link rel="apple-touch-icon" href="/file=web_assets/icon/mask-icon-512.png" >
68
 
69
  <link rel="manifest" href="/file=web_assets/manifest.json" crossorigin="use-credentials">
70
  """
 
63
  <meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover'>
64
  <meta name="theme-color" content="#ffffff">
65
 
66
+ <link rel="apple-touch-icon-precomposed" href="/file=web_assets/icon/mask-icon-512.png" crossorigin="use-credentials">
67
+ <link rel="apple-touch-icon" href="/file=web_assets/icon/mask-icon-512.png" crossorigin="use-credentials">
68
 
69
  <link rel="manifest" href="/file=web_assets/manifest.json" crossorigin="use-credentials">
70
  """
web_assets/manifest.json CHANGED
@@ -7,16 +7,16 @@
7
  "start_url": "/",
8
  "icons": [
9
  {
10
- "src": "/file=web_assets/icon/any-icon-512.png",
11
  "type": "image/png",
12
  "sizes": "512x512",
13
- "purpose": "any"
14
  },
15
  {
16
- "src": "/file=web_assets/icon/mask-icon-512.png",
17
  "type": "image/png",
18
  "sizes": "512x512",
19
- "purpose": "maskable"
20
  }
21
  ]
22
  }
 
7
  "start_url": "/",
8
  "icons": [
9
  {
10
+ "src": "/file=web_assets/icon/mask-icon-512.png",
11
  "type": "image/png",
12
  "sizes": "512x512",
13
+ "purpose": "maskable"
14
  },
15
  {
16
+ "src": "/file=web_assets/icon/any-icon-512.png",
17
  "type": "image/png",
18
  "sizes": "512x512",
19
+ "purpose": "any"
20
  }
21
  ]
22
  }
web_assets/stylesheet/ChuanhuChat.css CHANGED
@@ -959,17 +959,24 @@ button.chatbot-input-more-btn:active .sm-round-bg {
959
  #chatbot-area.no-menu #chatbot-input-box {
960
  padding-left: max(16px, env(safe-area-inset-left));
961
  }
 
 
 
 
962
  #chatbot-area.no-toolbox #chatbot-header {
963
  padding-right: max(16px, env(safe-area-inset-right));
964
  }
965
-
966
  #chatbot-area.no-toolbox #chatbot-area {
967
  padding-right: env(safe-area-inset-right);
968
  }
969
-
970
  #chatbot-area.no-toolbox #chatbot-input-box {
971
  padding-right: max(16px, env(safe-area-inset-right));
972
  }
 
 
 
 
 
973
  #history-select-wrap {
974
  height: 600px;
975
  overflow: auto;
 
959
  #chatbot-area.no-menu #chatbot-input-box {
960
  padding-left: max(16px, env(safe-area-inset-left));
961
  }
962
+ #chatbot-area.no-menu #chuanhu-chatbot>.wrapper>.wrap {
963
+ padding-left: max(20px, env(safe-area-inset-left));
964
+ }
965
+
966
  #chatbot-area.no-toolbox #chatbot-header {
967
  padding-right: max(16px, env(safe-area-inset-right));
968
  }
 
969
  #chatbot-area.no-toolbox #chatbot-area {
970
  padding-right: env(safe-area-inset-right);
971
  }
 
972
  #chatbot-area.no-toolbox #chatbot-input-box {
973
  padding-right: max(16px, env(safe-area-inset-right));
974
  }
975
+ #chatbot-area.no-toolbox #chuanhu-chatbot>.wrapper>.wrap {
976
+ padding-right: max(20px, env(safe-area-inset-right));
977
+ }
978
+
979
+
980
  #history-select-wrap {
981
  height: 600px;
982
  overflow: auto;