diff --git a/css/base.css b/css/base.css index de6fdaf5..168d98a5 100644 --- a/css/base.css +++ b/css/base.css @@ -425,7 +425,7 @@ li.right:hover .menuTrigger { font-family: inherit; font-size: 1.1rem; height: 2.5rem; - line-height: 2.0; + line-height: 2.25; margin: 0.25rem 0.125rem; width: 100%; vertical-align: baseline; diff --git a/src/webapp.jsx b/src/webapp.jsx index cd4e25ea..5f037b47 100644 --- a/src/webapp.jsx +++ b/src/webapp.jsx @@ -815,7 +815,7 @@ class InPlaceEdit extends React.Component { placeholder={this.props.placeholder} required={this.props.required ? 'required' : ''} autoComplete={this.props.autoComplete} - autoFocus={this.props.autoFocus ? 'autoFocus' : ''} + autoFocus onChange={this.handeTextChange} onKeyDown={this.handleKeyDown} onBlur={this.handleEditingFinished} />