Be able to select preimage hash in Firefox (#3101)
* enable input to be able to selec on Firfox * styling * Update packages/page-democracy/src/Overview/PreImage.tsx Co-authored-by: Jaco Greeff <jacogr@gmail.com> Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
parent
9f2cfb474e
commit
3450bcda1a
@ -80,8 +80,8 @@ function PreImage ({ className = '', imageHash, isImminent: propsIsImminent, onC
|
||||
onChange={setProposal}
|
||||
/>
|
||||
<Input
|
||||
className='disabledLook'
|
||||
help={t<string>('The hash of the selected proposal, use it for submitting the proposal')}
|
||||
isDisabled
|
||||
isDisabledError={!isMatched}
|
||||
label={t<string>('preimage hash')}
|
||||
value={encodedHash}
|
||||
@ -127,4 +127,13 @@ export default React.memo(styled(PreImage)`
|
||||
margin: 0.5rem 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.disabledLook input {
|
||||
background: transparent;
|
||||
border-style: dashed;
|
||||
&:focus{
|
||||
background: transparent;
|
||||
border-color: #d9d8d7;
|
||||
}
|
||||
}
|
||||
`);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user