mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 23:18:00 +03:00
btc: fix button rendering on safari
This commit is contained in:
parent
6faa7a0f0c
commit
8495894c7b
@ -114,8 +114,7 @@ export default class Balance extends Component {
|
|||||||
style={{cursor: sendDisabled ? "default" : "pointer" }}
|
style={{cursor: sendDisabled ? "default" : "pointer" }}
|
||||||
borderColor="none"
|
borderColor="none"
|
||||||
borderRadius="24px"
|
borderRadius="24px"
|
||||||
py="24px"
|
height="48px"
|
||||||
px="24px"
|
|
||||||
onClick={() => this.setState({sending: true})}
|
onClick={() => this.setState({sending: true})}
|
||||||
/>
|
/>
|
||||||
<Button children={(this.state.copiedButton) ? "Address Copied!" : "Copy Address"}
|
<Button children={(this.state.copiedButton) ? "Address Copied!" : "Copy Address"}
|
||||||
@ -128,8 +127,7 @@ export default class Balance extends Component {
|
|||||||
style={{cursor: (this.state.copiedButton) ? "default" : "pointer"}}
|
style={{cursor: (this.state.copiedButton) ? "default" : "pointer"}}
|
||||||
borderColor="none"
|
borderColor="none"
|
||||||
borderRadius="24px"
|
borderRadius="24px"
|
||||||
py="24px"
|
height="48px"
|
||||||
px="24px"
|
|
||||||
onClick={() => {this.copyAddress('button')}}
|
onClick={() => {this.copyAddress('button')}}
|
||||||
/>
|
/>
|
||||||
</Row>
|
</Row>
|
||||||
|
@ -221,8 +221,7 @@ export default class BridgeInvoice extends Component {
|
|||||||
mr={3}
|
mr={3}
|
||||||
fontSize={1}
|
fontSize={1}
|
||||||
borderRadius='24px'
|
borderRadius='24px'
|
||||||
py='24px'
|
height='48px'
|
||||||
px='24px'
|
|
||||||
onClick={() => this.sendBitcoin(txHex)}
|
onClick={() => this.sendBitcoin(txHex)}
|
||||||
disabled={!this.state.ready || error}
|
disabled={!this.state.ready || error}
|
||||||
style={{cursor: (this.state.ready && !error) ? "pointer" : "default"}}
|
style={{cursor: (this.state.ready && !error) ? "pointer" : "default"}}
|
||||||
|
@ -276,8 +276,7 @@ export default class Invoice extends Component {
|
|||||||
borderRadius='24px'
|
borderRadius='24px'
|
||||||
color={(this.state.ready && !error && !this.state.broadcasting) ? "white" : "lighterGray"}
|
color={(this.state.ready && !error && !this.state.broadcasting) ? "white" : "lighterGray"}
|
||||||
backgroundColor={(this.state.ready && !error && !this.state.broadcasting) ? "green" : "veryLightGray"}
|
backgroundColor={(this.state.ready && !error && !this.state.broadcasting) ? "green" : "veryLightGray"}
|
||||||
py='24px'
|
height='48px'
|
||||||
px='24px'
|
|
||||||
onClick={() => this.sendBitcoin(this.state.masterTicket, psbt)}
|
onClick={() => this.sendBitcoin(this.state.masterTicket, psbt)}
|
||||||
disabled={!this.state.ready || error || this.state.broadcasting}
|
disabled={!this.state.ready || error || this.state.broadcasting}
|
||||||
style={{cursor: (this.state.ready && !error && !this.state.broadcasting) ? "pointer" : "default"}}
|
style={{cursor: (this.state.ready && !error && !this.state.broadcasting) ? "pointer" : "default"}}
|
||||||
|
@ -430,8 +430,7 @@ export default class Send extends Component {
|
|||||||
fontWeight='bold'
|
fontWeight='bold'
|
||||||
borderRadius='24px'
|
borderRadius='24px'
|
||||||
mr={2}
|
mr={2}
|
||||||
py='24px'
|
height='48px'
|
||||||
px='24px'
|
|
||||||
onClick={() => this.toggleSignMethod(choosingSignMethod)}
|
onClick={() => this.toggleSignMethod(choosingSignMethod)}
|
||||||
color={signReady ? 'white' : 'lighterGray'}
|
color={signReady ? 'white' : 'lighterGray'}
|
||||||
backgroundColor={signReady ? 'rgba(33, 157, 255, 0.2)' : 'veryLightGray'}
|
backgroundColor={signReady ? 'rgba(33, 157, 255, 0.2)' : 'veryLightGray'}
|
||||||
|
@ -20,8 +20,7 @@ export default function Signer(props) {
|
|||||||
fontWeight='bold'
|
fontWeight='bold'
|
||||||
cursor='pointer'
|
cursor='pointer'
|
||||||
color={(signMethod === 'masterTicket') ? 'blue' : 'lightBlue'}
|
color={(signMethod === 'masterTicket') ? 'blue' : 'lightBlue'}
|
||||||
py='24px'
|
height='48px'
|
||||||
px='24px'
|
|
||||||
onClick={() => setSignMethod('masterTicket')}
|
onClick={() => setSignMethod('masterTicket')}
|
||||||
children='Sign with Master Ticket' />
|
children='Sign with Master Ticket' />
|
||||||
<Button
|
<Button
|
||||||
@ -30,8 +29,7 @@ export default function Signer(props) {
|
|||||||
fontWeight='bold'
|
fontWeight='bold'
|
||||||
cursor='pointer'
|
cursor='pointer'
|
||||||
color={(signMethod === 'bridge') ? 'blue' : 'lightBlue'}
|
color={(signMethod === 'bridge') ? 'blue' : 'lightBlue'}
|
||||||
py='24px'
|
height='48px'
|
||||||
px='24px'
|
|
||||||
onClick={() => setSignMethod('bridge')}
|
onClick={() => setSignMethod('bridge')}
|
||||||
children='Sign with Bridge' />
|
children='Sign with Bridge' />
|
||||||
</Box>
|
</Box>
|
||||||
@ -42,8 +40,7 @@ export default function Signer(props) {
|
|||||||
fontSize={1}
|
fontSize={1}
|
||||||
fontWeight='bold'
|
fontWeight='bold'
|
||||||
borderRadius='24px'
|
borderRadius='24px'
|
||||||
py='24px'
|
height='48px'
|
||||||
px='24px'
|
|
||||||
onClick={initPayment}
|
onClick={initPayment}
|
||||||
color={signReady ? 'white' : 'lighterGray'}
|
color={signReady ? 'white' : 'lighterGray'}
|
||||||
backgroundColor={signReady ? 'blue' : 'veryLightGray'}
|
backgroundColor={signReady ? 'blue' : 'veryLightGray'}
|
||||||
|
Loading…
Reference in New Issue
Block a user