Remvoe spaceing at the bottom of new team modal

This commit is contained in:
Jonas Schwabe
2017-02-03 18:45:45 +01:00
parent e82f0c3e6a
commit 77472369c1

View File

@@ -100,6 +100,11 @@ class NewTeamModal extends React.Component {
}
render() {
const noBottomSpaceing = {
'padding-bottom': 0,
'margin-bottom': 0
};
return (
<Modal
show={true}
@@ -142,6 +147,7 @@ class NewTeamModal extends React.Component {
</FormGroup>
<FormGroup
validationState={this.getTeamUrlValidationState()}
style={noBottomSpaceing}
>
<ControlLabel>{'Server URL'}</ControlLabel>
<FormControl
@@ -152,7 +158,9 @@ class NewTeamModal extends React.Component {
onChange={this.handleTeamUrlChange.bind(this)}
/>
<FormControl.Feedback/>
<HelpBlock>{'The URL of your Mattermost server. Must start with http:// or https://.'}</HelpBlock>
<HelpBlock
style={noBottomSpaceing}
>{'The URL of your Mattermost server. Must start with http:// or https://.'}</HelpBlock>
</FormGroup>
</form>
</Modal.Body>