Remvoe spaceing at the bottom of new team modal
This commit is contained in:
@@ -100,6 +100,11 @@ class NewTeamModal extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
const noBottomSpaceing = {
|
||||||
|
'padding-bottom': 0,
|
||||||
|
'margin-bottom': 0
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
show={true}
|
show={true}
|
||||||
@@ -142,6 +147,7 @@ class NewTeamModal extends React.Component {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
validationState={this.getTeamUrlValidationState()}
|
validationState={this.getTeamUrlValidationState()}
|
||||||
|
style={noBottomSpaceing}
|
||||||
>
|
>
|
||||||
<ControlLabel>{'Server URL'}</ControlLabel>
|
<ControlLabel>{'Server URL'}</ControlLabel>
|
||||||
<FormControl
|
<FormControl
|
||||||
@@ -152,7 +158,9 @@ class NewTeamModal extends React.Component {
|
|||||||
onChange={this.handleTeamUrlChange.bind(this)}
|
onChange={this.handleTeamUrlChange.bind(this)}
|
||||||
/>
|
/>
|
||||||
<FormControl.Feedback/>
|
<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>
|
</FormGroup>
|
||||||
</form>
|
</form>
|
||||||
</Modal.Body>
|
</Modal.Body>
|
||||||
|
Reference in New Issue
Block a user