1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop: Fixes #6503: Dropbox login button is not visible in dark mode (#6513)

This commit is contained in:
Retrove 2022-05-17 21:10:31 +08:00 committed by GitHub
parent 7ec3a7be9f
commit 64ef5ebde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,8 @@ class DropboxLoginScreenComponent extends React.Component<any, any> {
const inputStyle = Object.assign({}, theme.inputStyle, { width: 500 });
const buttonStyle = Object.assign({}, theme.buttonStyle, { marginRight: 10 });
return (
<div style={{ display: 'flex', flexDirection: 'column', height: '100%' }}>
<div style={containerStyle}>
@ -49,7 +51,7 @@ class DropboxLoginScreenComponent extends React.Component<any, any> {
<p>
<input type="text" value={this.state.authCode} onChange={this.shared_.authCodeInput_change} style={inputStyle} />
</p>
<button disabled={this.state.checkingAuthToken} onClick={this.shared_.submit_click}>
<button disabled={this.state.checkingAuthToken} style={buttonStyle} onClick={this.shared_.submit_click}>
{_('Submit')}
</button>
</div>