Explorar o código

fix: update iframe styling and permissions in ChatPage component

1808837298@qq.com hai 1 ano
pai
achega
af0b932535
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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>