aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-02-09 17:28:22 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-02-09 17:28:22 -0500
commitdb177e6ff03a95f0f426943b4b6aaffea77204de (patch)
treefab5a25dd2ff7e28ca2394ba9e1d4711ff40df9a /src
parentc1581aaf93467cce8fca8a3da71181d79b3bfef8 (diff)
Small style change
Diffstat (limited to 'src')
-rw-r--r--src/views/EditableView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/views/EditableView.tsx b/src/views/EditableView.tsx
index 357c97af2..2e784d3f9 100644
--- a/src/views/EditableView.tsx
+++ b/src/views/EditableView.tsx
@@ -25,7 +25,8 @@ export class EditableView extends React.Component<EditableProps> {
render() {
if (this.editing) {
- return <input defaultValue={this.props.GetValue()} onKeyDown={this.onKeyDown} autoFocus onBlur={action(() => this.editing = false)}></input>
+ return <input defaultValue={this.props.GetValue()} onKeyDown={this.onKeyDown} autoFocus onBlur={action(() => this.editing = false)}
+ style={{ width: "100%" }}></input>
} else {
return (
<div>