diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-09-11 00:56:26 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-09-11 00:56:26 -0400 |
commit | f4df8cedd38dbf09e282315604ecaa6cde8185e5 (patch) | |
tree | 3b3ca95040d1d9550f1a42ebf33b4de2c3f480cd /src/client/views/EditableView.tsx | |
parent | edec708b4396cd3b21ea22296812d5014b1359db (diff) |
added start of parameterized button maker
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r-- | src/client/views/EditableView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx index dd5395802..1bdb26b3d 100644 --- a/src/client/views/EditableView.tsx +++ b/src/client/views/EditableView.tsx @@ -145,7 +145,7 @@ export class EditableView extends React.Component<EditableProps> { if (this.props.autosuggestProps) this.props.autosuggestProps.resetValue(); return ( <div className={`editableView-container-editing${this.props.oneLine ? "-oneLine" : ""}`} - style={{ display: this.props.display, height: "auto", maxHeight: `${this.props.height}` }} + style={{ display: this.props.display, minHeight: "20px", height: "auto", maxHeight: `${this.props.height}` }} onClick={this.onClick}> <span style={{ fontStyle: this.props.fontStyle, fontSize: this.props.fontSize }}>{this.props.contents}</span> </div> |