Skip to content

Commit c17aaa1

Browse files
author
Fahd
committed
chore(issuer): fix styling
1 parent 4533a39 commit c17aaa1

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

packages/polymath-issuer/src/pages/compliance/CompliancePage.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -642,18 +642,16 @@ class CompliancePage extends Component<Props, State> {
642642
<Page title="Compliance – Polymath">
643643
<Progress />
644644
<Grid>
645-
<Grid.Row>
646-
<Grid.Col gridSpan={12}>
645+
<Grid.Row gridGap="0px">
646+
<Grid.Col gridSpan={9}>
647647
<h1 className="pui-h1">Token Whitelist</h1>
648648
<h3 className="pui-h3">
649649
Whitelisted addresses may hold, buy, or sell the security token
650650
and may participate into the STO. <br /> Security token buy/sell
651651
operations may be subject to restrictions.
652652
</h3>
653653
</Grid.Col>
654-
</Grid.Row>
655-
<Grid.Row>
656-
<Grid.Col>
654+
<Grid.Col style={{ alignSelf: 'center' }}>
657655
<Button
658656
icon="upload"
659657
onClick={this.handleImportModalOpen}
@@ -662,7 +660,7 @@ class CompliancePage extends Component<Props, State> {
662660
Import Whitelist
663661
</Button>
664662
</Grid.Col>
665-
<Grid.Col>
663+
<Grid.Col style={{ alignSelf: 'center' }}>
666664
<ImportWhitelistModal
667665
isOpen={this.state.isImportModalOpen}
668666
onSubmit={this.handleImport}
@@ -682,7 +680,7 @@ class CompliancePage extends Component<Props, State> {
682680
Export Whitelist
683681
</Button>
684682
</Grid.Col>
685-
<Grid.Col>
683+
<Grid.Col style={{ alignSelf: 'center', justifySelf: 'left' }}>
686684
<OverflowMenu floatingMenu flipped style={{ float: 'right' }}>
687685
<OverflowMenuItem
688686
itemText={

packages/polymath-issuer/src/pages/compliance/components/WhitelistModal.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
} from '@polymathnetwork/ui';
1616
import validator from '@polymathnetwork/ui/validator';
1717
import { addAddressToTransferManager } from '../../../actions/compliance';
18-
('');
1918

2019
type Props = {
2120
isOpen: boolean,
@@ -33,15 +32,15 @@ const formSchema = validator.object().shape({
3332
export const ConfirmEmailFormComponent = ({ handleSubmit, handleClose }) => (
3433
<Form onSubmit={handleSubmit}>
3534
<FormItem name="address">
36-
<Heading as="h5" variant="h5">
35+
<Heading className="form-item-header" variant="h3">
3736
Whitelist Manager Wallet Address
3837
</Heading>
3938
<FormItem.Input component={TextInput} />
4039
<FormItem.Error />
4140
</FormItem>
4241

4342
<FormItem name="details">
44-
<Heading as="h5" variant="h5">
43+
<Heading className="form-item-header" variant="h3">
4544
Whitelist Manager Details
4645
</Heading>
4746
<FormItem.Input component={TextInput} />

packages/polymath-issuer/src/pages/compliance/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
cursor: pointer;
33
}
44

5+
.form-item-header {
6+
margin-top: 12px;
7+
margin-bottom: 5px;
8+
font-size: 14px;
9+
}
10+
511
.compliance-form {
612
width: 100%;
713

0 commit comments

Comments
 (0)