Skip to content

Commit 84de8ef

Browse files
committed
frontend/frame: fix page overflowing in chrome
1 parent 35e8bef commit 84de8ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/components/Frame.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ export class Frame extends Component<FrameProps, FrameState> {
258258
}
259259

260260
render() {
261-
const downLoadButton = isDebugMode.value ? <Row className="d-flex">
262-
<Button variant='secondary' class="btn" onClick={() => {
261+
const downLoadButton = isDebugMode.value ? <Row className="d-flex m-0">
262+
<Button variant='secondary' style={{borderRadius: 0}} class="m-0" onClick={() => {
263263
this.interface.downloadPcapLog();
264264
}}>Download Pcap log</Button>
265265
</Row> : null;
@@ -268,8 +268,8 @@ export class Frame extends Component<FrameProps, FrameState> {
268268
<Row hidden={!this.state.show_spinner} className="align-content-center justify-content-center m-0 h-100">
269269
<Spinner className="p-3"animation='border' variant='primary'/>
270270
</Row>
271-
<Row className="flex-grow-1">
272-
<iframe hidden={this.state.show_spinner} width="100%" height="100%" id="interface"></iframe>
271+
<Row className="flex-grow-1 m-0">
272+
<iframe class="p-0" hidden={this.state.show_spinner} width="100%" height="100%" id="interface"></iframe>
273273
</Row>
274274
{downLoadButton}
275275
</Container>

0 commit comments

Comments
 (0)