diff options
author | bobzel <zzzman@gmail.com> | 2021-09-10 13:53:35 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-09-10 13:53:35 -0400 |
commit | 42d98f5c0a35e173e5eb4651a9a48567a209550f (patch) | |
tree | e50a1b8b9d3d01af7a38ed4b6d91c4a7bead79bd /src/client/views/EditableView.tsx | |
parent | 4d3960bfff57d6e0840f4d09d5a5150a055ac788 (diff) |
made web page menu UI functional. made ink show up in minmimap.
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r-- | src/client/views/EditableView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx index 83336c180..ebf5ca82d 100644 --- a/src/client/views/EditableView.tsx +++ b/src/client/views/EditableView.tsx @@ -155,7 +155,7 @@ export class EditableView extends React.Component<EditableProps> { return wasFocused !== this._editing; } - + renderEditor() { console.log("render editor", this.props.autosuggestProps); @@ -200,7 +200,7 @@ export class EditableView extends React.Component<EditableProps> { setTimeout(() => this.props.autosuggestProps?.resetValue()); return this.props.contents instanceof ObjectField ? (null) : <div className={`editableView-container-editing${this.props.oneLine ? "-oneLine" : ""}`} ref={this._ref} - style={{ display: this.props.display, textOverflow: this.props.overflow, minHeight: "17px", whiteSpace: "nowrap", height: this.props.height || "auto", maxHeight: this.props.maxHeight }} + style={{ display: this.props.display, textOverflow: this.props.overflow, minHeight: "10px", whiteSpace: "nowrap", height: this.props.height || "auto", maxHeight: this.props.maxHeight }} onClick={this.onClick} placeholder={this.props.placeholder}> <span style={{ fontStyle: this.props.fontStyle, fontSize: this.props.fontSize }} > {this.props.contents ? this.props.contents?.valueOf() : this.props.placeholder?.valueOf()} |