Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember-ruby committed Jun 30, 2024
1 parent b28d01b commit 5b13198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/flavours/blobfox/components/status_content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ class StatusContent extends PureComponent {
onMouseDown={this.handleMouseDown}
onMouseUp={this.handleMouseUp}
tabIndex={0}
style={collapsed ? { height: `${collapsedHeight}px` } : null}
style={collapsed && collapsedHeight ? { height: `${collapsedHeight}px` } : null}
>
<div
ref={this.setContentsRef}
Expand All @@ -483,7 +483,7 @@ class StatusContent extends PureComponent {
<div
className='status__content'
tabIndex={0}
style={collapsed ? { height: `${collapsedHeight}px` } : null}
style={collapsed && collapsedHeight ? { height: `${collapsedHeight}px` } : null}
>
<div
ref={this.setContentsRef}
Expand Down

0 comments on commit 5b13198

Please sign in to comment.