chore: better user instructions

This commit is contained in:
EnixCoda 2019-08-24 22:14:43 +08:00
parent e133c998ac
commit b96a4f388f
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD
2 changed files with 3 additions and 3 deletions

View file

@ -241,14 +241,14 @@ export default class SettingsBar extends React.PureComponent<Props, State> {
window.location.href = url
}}
>
Create with OAuth
Create with OAuth (recommended)
</a>
)}
<div className={'access-token-input-control'}>
<input
className={'access-token-input form-control'}
disabled={hasAccessToken}
placeholder={hasAccessToken ? 'Your token is saved' : 'Input your token here'}
placeholder={hasAccessToken ? 'Your token is saved' : 'Or input here manually'}
value={accessToken}
onChange={this.onInputAccessToken}
onKeyPress={this.onPressAccessToken}

View file

@ -408,7 +408,7 @@
z-index: 1;
}
&-section {
padding-bottom: 10px;
padding-bottom: 16px;
}
/* inputs for access token & shortcut were too wide */