Skip to content

Commit cd853d8

Browse files
committed
Fixed the container style
1 parent 559830b commit cd853d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prefetcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default class Prefetcher extends React.Component {
2727
onMouseEnter={() => this._eventHappened('hover')}
2828
onClick={() => this._eventHappened('click')}
2929
className={this.props.className}
30-
style={this.props.style}
30+
style={{ width: 'max-content', ...this.props.style }}
3131
>
3232
{this.props.children}
3333
</span>

0 commit comments

Comments
 (0)