Spaces:
Configuration error
Configuration error
Commit
·
4f7d562
1
Parent(s):
b2c6121
small update iframe css
Browse files
frontend/src/components/Nodes/Custom.js
CHANGED
@@ -150,14 +150,13 @@ export default class CustomNodeIframe extends React.Component {
|
|
150 |
<div id={`draggable`} className={`relative w-[540px] h-[600px] overflow-hidden m-0 p-0 shadow-2xl`} ref={this.myRef}>
|
151 |
|
152 |
<div className={`absolute p-5 h-full w-full ${this.state.data.colour} shadow-2xl rounded-xl -z-20`}></div>
|
153 |
-
|
154 |
id="iframe"
|
155 |
key={this.state.iframe}
|
156 |
src={this.state.data.host}
|
157 |
title={this.state.data.label}
|
158 |
frameBorder="0"
|
159 |
-
|
160 |
-
className=" -z-10 container h-full p-2 flex-grow space-iframe overflow-auto"
|
161 |
sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"
|
162 |
></iframe>
|
163 |
</div>
|
|
|
150 |
<div id={`draggable`} className={`relative w-[540px] h-[600px] overflow-hidden m-0 p-0 shadow-2xl`} ref={this.myRef}>
|
151 |
|
152 |
<div className={`absolute p-5 h-full w-full ${this.state.data.colour} shadow-2xl rounded-xl -z-20`}></div>
|
153 |
+
<iframe
|
154 |
id="iframe"
|
155 |
key={this.state.iframe}
|
156 |
src={this.state.data.host}
|
157 |
title={this.state.data.label}
|
158 |
frameBorder="0"
|
159 |
+
className="p-2 -z-10 h-full w-full ml-auto mr-auto overflow-y-scroll"
|
|
|
160 |
sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"
|
161 |
></iframe>
|
162 |
</div>
|