mm-1874 - Improving team url screen and fixing file attachments in IE 10

Этот коммит содержится в:
Asaad Mahmood
2015-08-04 18:58:13 +05:00
родитель 42c5d0d366
Коммит 6ee11f0cbe
3 изменённых файлов: 23 добавлений и 2 удалений

Просмотреть файл

@@ -248,6 +248,8 @@ TeamURLPage = React.createClass({
},
render: function() {
$('body').tooltip( {selector: '[data-toggle=tooltip]', trigger: 'hover click'} );
client.track('signup', 'signup_team_03_url');
var name_error = this.state.name_error ? <label className="control-label">{ this.state.name_error }</label> : null;
@@ -260,8 +262,8 @@ TeamURLPage = React.createClass({
<div className={ name_error ? "form-group has-error" : "form-group" }>
<div className="row">
<div className="col-sm-11">
<div className="input-group">
<span className="input-group-addon">{ utils.getWindowLocationOrigin() + "/" }</span>
<div className="input-group input-group--limit">
<span data-toggle="tooltip" title={ utils.getWindowLocationOrigin() + "/" } className="input-group-addon">{ utils.getWindowLocationOrigin() + "/" }</span>
<input type="text" ref="name" className="form-control" placeholder="" maxLength="128" defaultValue={this.props.state.team.name} autoFocus={true} onFocus={this.handleFocus}/>
</div>
</div>

Просмотреть файл

@@ -137,6 +137,7 @@
}
}
.post-image__thumbnail {
display: block;
width: 50%;
height: 100%;
}

Просмотреть файл

@@ -54,6 +54,24 @@
margin-bottom: 1em;
}
.input-group {
&.input-group--limit {
table-layout: fixed;
width: 100%;
.form-control {
text-align: left;
display: table-cell;
width: 100%;
}
.input-group-addon {
width: 50%;
display: table-cell;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
.inner__content {
padding: 0 15px;
margin: 30px 0 20px;