Slight button ordering adjustments (#3271)
This commit is contained in:
parent
6718066aa2
commit
bb846baa71
@ -112,6 +112,7 @@ function Vote ({ electionsInfo }: Props): React.ReactElement<Props> {
|
||||
<TxButton
|
||||
accountId={accountId}
|
||||
isDisabled={!accountId || votes.length === 0 || voteValue.lten(0)}
|
||||
label={t<string>('Vote')}
|
||||
onStart={toggleVisible}
|
||||
params={[votes, voteValue]}
|
||||
tx={
|
||||
|
||||
@ -51,8 +51,8 @@ function Overview ({ className = '', prime }: Props): React.ReactElement<Props>
|
||||
electionsInfo={electionsInfo}
|
||||
/>
|
||||
<Button.Group>
|
||||
<SubmitCandidacy electionsInfo={electionsInfo} />
|
||||
<Vote electionsInfo={electionsInfo} />
|
||||
<SubmitCandidacy electionsInfo={electionsInfo} />
|
||||
</Button.Group>
|
||||
<Members
|
||||
allVotes={allVotes}
|
||||
|
||||
@ -40,7 +40,7 @@ function TipCreate ({ members, refresh }: Props): React.ReactElement<Props> {
|
||||
<>
|
||||
<Button
|
||||
icon='plus'
|
||||
label={t<string>('Tip')}
|
||||
label={t<string>('Propose tip')}
|
||||
onClick={toggleOpen}
|
||||
/>
|
||||
{isOpen && (
|
||||
|
||||
@ -41,11 +41,11 @@ function Overview ({ className }: Props): React.ReactElement<Props> {
|
||||
proposalCount={info?.proposals.length}
|
||||
/>
|
||||
<Button.Group>
|
||||
<ProposalCreate />
|
||||
<TipCreate
|
||||
members={members}
|
||||
refresh={triggerTipHashes}
|
||||
/>
|
||||
<ProposalCreate />
|
||||
</Button.Group>
|
||||
<Proposals
|
||||
isMember={isMember}
|
||||
|
||||
@ -30,4 +30,8 @@ export default React.memo(styled(ButtonGroup)`
|
||||
&+.ui--Table {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.ui--Button {
|
||||
margin: 0 0.25rem;
|
||||
}
|
||||
`);
|
||||
|
||||
@ -131,6 +131,10 @@ export default React.memo(styled(Body)`
|
||||
&.favorite .ui--Icon.isSelected {
|
||||
color: darkorange;
|
||||
}
|
||||
|
||||
.ui--Button-Group .ui--Button {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
tr {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user