浏览代码

fix: update iframe styling and permissions in ChatPage component

1808837298@qq.com 1 年之前
父节点
当前提交
af0b932535
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      web/src/pages/Chat/index.js

+ 2 - 1
web/src/pages/Chat/index.js

@@ -34,8 +34,9 @@ const ChatPage = () => {
   return !isLoading && iframeSrc ? (
     <iframe
       src={iframeSrc}
-      style={{ width: '100%', height: '85vh', border: 'none' }}
+      style={{ width: '100%', height: '100%', border: 'none' }}
       title="Token Frame"
+      allow="camera;microphone"
     />
   ) : (
     <div>