diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/account/notifications/Projects.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/account/notifications/Projects.js | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/notifications/Projects.js b/server/sonar-web/src/main/js/apps/account/notifications/Projects.js index 14a7f74020c..5345b55591a 100644 --- a/server/sonar-web/src/main/js/apps/account/notifications/Projects.js +++ b/server/sonar-web/src/main/js/apps/account/notifications/Projects.js @@ -113,30 +113,32 @@ class Projects extends React.PureComponent { const allProjects = [...this.props.projects, ...this.state.addedProjects]; return ( - <section> - <h2 className="spacer-bottom">{translate('my_profile.per_project_notifications.title')}</h2> - - {allProjects.length === 0 && ( - <div className="note">{translate('my_account.no_project_notifications')}</div> - )} - - {allProjects.map(project => <ProjectNotifications key={project.key} project={project} />)} - - <div className="spacer-top panel bg-muted"> - <span className="text-middle spacer-right"> - {translate('my_account.set_notifications_for')}: - </span> - <AsyncSelect - autoload={false} - cache={false} - name="new_project" - style={{ width: '300px' }} - loadOptions={this.loadOptions} - minimumInput={2} - optionRenderer={this.renderOption} - onChange={this.handleAddProject} - placeholder={translate('my_account.search_project')} - /> + <section className="boxed-group"> + <h2>{translate('my_profile.per_project_notifications.title')}</h2> + + <div className="boxed-group-inner"> + {allProjects.length === 0 && ( + <div className="note">{translate('my_account.no_project_notifications')}</div> + )} + + {allProjects.map(project => <ProjectNotifications key={project.key} project={project} />)} + + <div className="spacer-top panel bg-muted"> + <span className="text-middle spacer-right"> + {translate('my_account.set_notifications_for')}: + </span> + <AsyncSelect + autoload={false} + cache={false} + name="new_project" + style={{ width: '300px' }} + loadOptions={this.loadOptions} + minimumInput={2} + optionRenderer={this.renderOption} + onChange={this.handleAddProject} + placeholder={translate('my_account.search_project')} + /> + </div> </div> </section> ); |