Quellcode durchsuchen

fix: update iframe styling and permissions in ChatPage component

1808837298@qq.com vor 1 Jahr
Ursprung
Commit
af0b932535
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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>