diff --git a/src/browser/components/SettingsPage.jsx b/src/browser/components/SettingsPage.jsx index c4509dfa..ed615dd3 100644 --- a/src/browser/components/SettingsPage.jsx +++ b/src/browser/components/SettingsPage.jsx @@ -33,6 +33,7 @@ const SettingsPage = React.createClass({ initialState.showAddTeamForm = false; initialState.trayWasVisible = remote.getCurrentWindow().trayWasVisible; + initialState.disableClose = initialState.teams.length === 0; return initialState; }, @@ -275,13 +276,13 @@ const SettingsPage = React.createClass({ backgroundColor: '#fff' }, close: { + textDecoration: 'none', position: 'absolute', right: '0', - top: '10px', + top: '5px', fontSize: '35px', fontWeight: 'normal', - color: '#bbb', - cursor: 'pointer' + color: '#bbb' }, heading: { textAlign: 'center', @@ -325,12 +326,14 @@ const SettingsPage = React.createClass({ >

{'Settings'}

-
{'×'} -
+
-

{'Team Management'}

+

{'Server Management'}

{'⊞ Add new team'} + >{'⊞ Add new server'}