Преглед изворни кода

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>