diff options
author | 2019-11-26 18:08:23 +0700 | |
---|---|---|
committer | 2019-11-26 18:08:23 +0700 | |
commit | ce4cf753bf24a078f04bf3e32b5697bb603c1db2 (patch) | |
tree | 05123ad9d58ca2318d57cdbcdb5416a3867eda7f | |
parent | Update package-lock.json version (diff) | |
download | ferdium-app-ce4cf753bf24a078f04bf3e32b5697bb603c1db2.tar.gz ferdium-app-ce4cf753bf24a078f04bf3e32b5697bb603c1db2.tar.zst ferdium-app-ce4cf753bf24a078f04bf3e32b5697bb603c1db2.zip |
Enhance Settings readabiity (spacing)
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index dacd4d9c0..12822bae0 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -261,7 +261,11 @@ export default @observer class EditSettingsForm extends Component { | |||
261 | autoFocus | 261 | autoFocus |
262 | /> | 262 | /> |
263 | {isLoggedIn && ( | 263 | {isLoggedIn && ( |
264 | <p>{ intl.formatMessage(messages.serverInfo) }</p> | 264 | <p className="settings__message" style={{ |
265 | borderTop: 0, marginTop: 0, paddingTop: 0, marginBottom: '2rem', | ||
266 | }}> | ||
267 | { intl.formatMessage(messages.serverInfo) } | ||
268 | </p> | ||
265 | )} | 269 | )} |
266 | {server === 'https://api.franzinfra.com' && ( | 270 | {server === 'https://api.franzinfra.com' && ( |
267 | <p | 271 | <p |
@@ -297,7 +301,11 @@ export default @observer class EditSettingsForm extends Component { | |||
297 | onChange={e => this.submit(e)} | 301 | onChange={e => this.submit(e)} |
298 | field={form.$('todoServer')} | 302 | field={form.$('todoServer')} |
299 | /> | 303 | /> |
300 | <p>{ intl.formatMessage(messages.todoServerInfo) }</p> | 304 | <p className="settings__message" style={{ |
305 | borderTop: 0, marginTop: 0, paddingTop: 0, marginBottom: '2rem', | ||
306 | }}> | ||
307 | { intl.formatMessage(messages.todoServerInfo) } | ||
308 | </p> | ||
301 | </> | 309 | </> |
302 | )} | 310 | )} |
303 | 311 | ||