Modal column boxing (#2651)
This commit is contained in:
parent
27835d3065
commit
038d459e89
@ -95,16 +95,19 @@ function Nominate ({ className, controllerId, next, nominating, onClose, stashId
|
||||
<Modal.Content className='ui--signer-Signer-Content'>
|
||||
<Modal.Columns>
|
||||
<Modal.Column>
|
||||
<InputAddress
|
||||
defaultValue={controllerId}
|
||||
isDisabled
|
||||
label={t('controller account')}
|
||||
/>
|
||||
<InputAddress
|
||||
defaultValue={stashId}
|
||||
isDisabled
|
||||
label={t('stash account')}
|
||||
/>
|
||||
<InputAddress
|
||||
defaultValue={controllerId}
|
||||
isDisabled
|
||||
label={t('controller account')}
|
||||
/>
|
||||
</Modal.Column>
|
||||
<Modal.Column>
|
||||
<p>{t('The stash that is to be affected. The transaction will be sent from the associated controller account.')}</p>
|
||||
</Modal.Column>
|
||||
</Modal.Columns>
|
||||
<Modal.Columns>
|
||||
|
||||
@ -19,16 +19,19 @@ export default React.memo(styled(Column)`
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
background: #eee;
|
||||
border-radius: 0.5rem;
|
||||
display: none;
|
||||
flex: 0%;
|
||||
font-size: 0.95rem;
|
||||
opacity: 0.75;
|
||||
padding: 0.75em 1rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
&:nth-child(1),
|
||||
&:only-child {
|
||||
flex: 0 66%;
|
||||
flex: 0 65%;
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
|
||||
@ -14,11 +14,12 @@ function Columns ({ children, className }: ColumnProps): React.ReactElement<Colu
|
||||
}
|
||||
|
||||
export default React.memo(styled(Columns)`
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-layout: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
&+& {
|
||||
margin-top: 1rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
`);
|
||||
|
||||
@ -28,7 +28,6 @@ export default css`
|
||||
.ui.dropdown {
|
||||
&.disabled {
|
||||
background: transparent;
|
||||
border-color: #eee;
|
||||
border-style: dashed;
|
||||
opacity: 1;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user