Skip to content

Commit e346df0

Browse files
authored
Merge pull request #686 from allproxy/v3-28-0
Minor style updates
2 parents a001e3f + 280bfe5 commit e346df0

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

client/src/App.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ body {
8585
.react-tagsinput input,
8686
.header__filter-input,
8787
.header__filter-input input {
88-
color: rgba(232, 230, 227);
89-
background-color: #444444;
88+
color: rgba(232, 230, 227) !important;
89+
background-color: #444444 !important;
9090
}
9191

9292
.react-tagsinput {
@@ -594,7 +594,7 @@ td input {
594594

595595
.export__input-file-name {
596596
margin: 0 1rem 1rem 1rem;
597-
width: 600px;
597+
width: 600px !important;
598598
}
599599

600600
.snapshot__container {

client/src/components/ExportDialog.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { observer } from 'mobx-react-lite';
22
import React from 'react';
3-
import { Dialog, DialogTitle } from '@material-ui/core';
3+
import { Dialog, DialogContent, DialogTitle } from '@material-ui/core';
44

55
type Props = {
66
open: boolean,
@@ -18,13 +18,15 @@ const ExportDialog = observer(({ open, heading: title, name, onClose }: Props) =
1818
return (
1919
<Dialog onClose={handleClose} aria-labelledby="simple-dialog-title" open={open} maxWidth={'lg'}>
2020
<DialogTitle id="simple-dialog-title">{title}</DialogTitle>
21-
<input className={'export__input-file-name form-control'} value={fileName} onChange={(value) => setFileName(value.target.value)} />
22-
<button className={'btn btn-success'}
23-
disabled={fileName.length === 0}
24-
onClick={() => onClose(fileName)}
25-
>
26-
Export
27-
</button>
21+
<DialogContent>
22+
<input className={'export__input-file-name form-control'} value={fileName} onChange={(value) => setFileName(value.target.value)} />
23+
<button className={'btn btn-success'}
24+
disabled={fileName.length === 0}
25+
onClick={() => onClose(fileName)}
26+
>
27+
Export
28+
</button>
29+
</DialogContent>
2830
</Dialog>
2931
);
3032
});

0 commit comments

Comments
 (0)