summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-07 12:04:36 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-07 12:04:36 -0700
commitdaaf331eb58062f2c97739d7c75f38e9a6e6b188 (patch)
tree6c5160cd4159cc3ebae6a5c4bebe542afca57197 /web/react
parent7102530defe146a11ffccb776da088c11f33a57a (diff)
downloadchat-daaf331eb58062f2c97739d7c75f38e9a6e6b188.tar.gz
chat-daaf331eb58062f2c97739d7c75f38e9a6e6b188.tar.bz2
chat-daaf331eb58062f2c97739d7c75f38e9a6e6b188.zip
Changed textarea resizeability from being a blanket statement to everything to only the ones with issues
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/edit_channel_modal.jsx2
-rw-r--r--web/react/components/get_link_modal.jsx2
-rw-r--r--web/react/components/new_channel.jsx2
3 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/edit_channel_modal.jsx b/web/react/components/edit_channel_modal.jsx
index f1f4eca40..255654fd5 100644
--- a/web/react/components/edit_channel_modal.jsx
+++ b/web/react/components/edit_channel_modal.jsx
@@ -43,7 +43,7 @@ module.exports = React.createClass({
<h4 className="modal-title" ref="title">Edit {this.state.title} Description</h4>
</div>
<div className="modal-body">
- <textarea className="form-control" rows="6" ref="channelDesc" maxLength="1024" value={this.state.description} onChange={this.handleUserInput}></textarea>
+ <textarea className="form-control" style={{resize: "none"}} rows="6" ref="channelDesc" maxLength="1024" value={this.state.description} onChange={this.handleUserInput}></textarea>
</div>
<div className="modal-footer">
<button type="button" className="btn btn-default" data-dismiss="modal">Close</button>
diff --git a/web/react/components/get_link_modal.jsx b/web/react/components/get_link_modal.jsx
index 69e565185..bbfdce63a 100644
--- a/web/react/components/get_link_modal.jsx
+++ b/web/react/components/get_link_modal.jsx
@@ -38,7 +38,7 @@ module.exports = React.createClass({
<div className="modal-body">
<p>{"The link below is used for open " + strings.TeamPlural + " or if you allowed your " + strings.Team + " members to sign up using their " + strings.Company + " email addresses."}
</p>
- <textarea className="form-control" readOnly="true" value={this.state.value}></textarea>
+ <textarea className="form-control" style={{resize: "none"}} readOnly="true" value={this.state.value}></textarea>
</div>
<div className="modal-footer">
<button type="button" className="btn btn-default" data-dismiss="modal">Close</button>
diff --git a/web/react/components/new_channel.jsx b/web/react/components/new_channel.jsx
index 13fa5b2cc..160241c1c 100644
--- a/web/react/components/new_channel.jsx
+++ b/web/react/components/new_channel.jsx
@@ -122,7 +122,7 @@ module.exports = React.createClass({
</div>
<div className="form-group">
<label className='control-label'>Description</label>
- <textarea className="form-control" ref="channel_desc" rows="3" placeholder="Description" maxLength="1024"></textarea>
+ <textarea className="form-control" style={{resize: "none"}} ref="channel_desc" rows="3" placeholder="Description" maxLength="1024"></textarea>
</div>
{ server_error }
</form>