aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/EditableView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-30 12:23:09 -0400
committerbobzel <zzzman@gmail.com>2021-03-30 12:23:09 -0400
commitd998ffa342401e561e551ae8e94aa263cb17a8a3 (patch)
tree1c377fc6c959297ddaf9aafd8faba39e92e51086 /src/client/views/EditableView.tsx
parentb359d42651e0385ffb06d2beb2ee2dbee1f880e7 (diff)
fixed up editable textview title widths and clicking to set cursor insertion point.
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r--src/client/views/EditableView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx
index e2f171f9d..03d9efff3 100644
--- a/src/client/views/EditableView.tsx
+++ b/src/client/views/EditableView.tsx
@@ -173,7 +173,7 @@ export class EditableView extends React.Component<EditableProps> {
}}
/>
: <input className="editableView-input" ref={this._inputref}
- style={{ display: this.props.display, fontSize: this.props.fontSize, minWidth: 20, background: this.props.background }}
+ style={{ display: this.props.display, overflow: "auto", fontSize: this.props.fontSize, minWidth: 20, background: this.props.background }}
placeholder={this.props.placeholder}
onBlur={e => this.finalizeEdit(e.currentTarget.value, false, true, false)}
defaultValue={this.props.GetValue()}