fix: History sidebar header shrinking when lots of history

This commit is contained in:
Tom Moor
2020-09-11 12:10:40 -07:00
parent c298c73240
commit d5f5319f80
3 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,7 @@ function eachMinute(fn) {
type Props = {
dateTime: string,
children?: React.Node,
tooltipDelay?: number,
};
class Time extends React.Component<Props> {
@ -42,6 +43,7 @@ class Time extends React.Component<Props> {
return (
<Tooltip
tooltip={format(this.props.dateTime, "MMMM Do, YYYY h:mm a")}
delay={this.props.tooltipDelay}
placement="bottom"
>
<time dateTime={this.props.dateTime}>