Parcourir la source

fix: update iframe styling and permissions in ChatPage component

[email protected] il y a 11 mois
Parent
commit
af0b932535
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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>