mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
tidy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
30d2e61a0d
commit
13d09df7d7
@ -20,4 +20,9 @@ limitations under the License.
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 450px;
|
||||
}
|
||||
}
|
||||
|
@ -121,14 +121,11 @@ export default class ModalWidgetDialog extends React.PureComponent<IProps, IStat
|
||||
className="mx_ModalWidgetDialog"
|
||||
contentId="mx_Dialog_content"
|
||||
onFinished={this.props.onFinished}
|
||||
hasCancel={false}
|
||||
>
|
||||
<div>
|
||||
<iframe
|
||||
ref={this.appFrame}
|
||||
// sandbox="allow-forms allow-scripts"
|
||||
width={700} // TODO
|
||||
height={450} // TODO
|
||||
// sandbox="allow-forms allow-scripts" TODO
|
||||
src={widgetUrl.toString()}
|
||||
onLoad={this.onLoad}
|
||||
/>
|
||||
|
@ -147,7 +147,7 @@ export class WidgetApi extends EventEmitter {
|
||||
this.replyToRequest(<ToWidgetRequest>payload, {});
|
||||
break;
|
||||
|
||||
// Ack, handle by caller
|
||||
// Ack, handled by caller
|
||||
case KnownWidgetActions.Terminate:
|
||||
case KnownWidgetActions.ButtonClicked:
|
||||
case KnownWidgetActions.GetWidgetConfig:
|
||||
|
Loading…
Reference in New Issue
Block a user