aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/EditableView.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-25 19:33:44 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-25 19:33:44 -0400
commit6c6c2a6c8e40b9f04942e65c416e16f1d3831385 (patch)
tree94c24a134e4a71bee473a93c59cfcf690f6a87e8 /src/client/views/EditableView.tsx
parent0baefb4e0b133df60f42d894733113c961740af3 (diff)
parente1c7add158ce245ce6cb557177986b31fe107dd8 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into stackingSections_2
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r--src/client/views/EditableView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx
index bd00d47b9..a8cfc4fcb 100644
--- a/src/client/views/EditableView.tsx
+++ b/src/client/views/EditableView.tsx
@@ -116,8 +116,8 @@ export class EditableView extends React.Component<EditableProps> {
return (
<div className={`editableView-container-editing${this.props.oneLine ? "-oneLine" : ""}`}
style={{ display: this.props.display, height: "auto", maxHeight: `${this.props.height}` }}
- onClick={this.onClick}>
- <span style={{ fontStyle: this.props.fontStyle }}>{this.props.contents}</span>
+ onClick={this.onClick} >
+ <span style={{ fontStyle: this.props.fontStyle, fontSize: this.props.fontSize }}>{this.props.contents}</span>
</div>
);
}