diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-02-13 03:33:56 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-02-13 03:33:56 -0500 |
commit | 3033e4d5f26bbdb808c1a88d1ecabb57b2acade4 (patch) | |
tree | f158acbbbc87e27c344675b8f0beceb110d57518 /src/client/views/EditableView.tsx | |
parent | 39988ec578329695d61a090fce7693c4c6217bbd (diff) |
messing with css, not very productively.
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r-- | src/client/views/EditableView.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx index 2e784d3f9..1176edce1 100644 --- a/src/client/views/EditableView.tsx +++ b/src/client/views/EditableView.tsx @@ -29,9 +29,10 @@ export class EditableView extends React.Component<EditableProps> { style={{ width: "100%" }}></input> } else { return ( - <div> - {this.props.contents} - <button onClick={action(() => this.editing = true)}>Edit</button> + <div style={{ alignItems: "center", display: "flex", height: "100%", maxHeight: "35px" }} > + <button style={{ width: "100%" }} onClick={action(() => this.editing = true)}> + {this.props.contents} + </button> </div> ) } |