mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fix issue with the table stretching on the Movie > Details > Search when the Title is extremely long
This commit is contained in:
@@ -32,6 +32,7 @@ class Link extends Component {
|
||||
isDisabled,
|
||||
noRouter,
|
||||
onPress,
|
||||
title,
|
||||
...otherProps
|
||||
} = this.props;
|
||||
|
||||
@@ -39,6 +40,10 @@ class Link extends Component {
|
||||
let el = component;
|
||||
|
||||
if (to) {
|
||||
if (title) {
|
||||
linkProps.title = title;
|
||||
}
|
||||
|
||||
if ((/\w+?:\/\//).test(to)) {
|
||||
el = 'a';
|
||||
linkProps.href = to;
|
||||
@@ -87,6 +92,7 @@ Link.propTypes = {
|
||||
className: PropTypes.string,
|
||||
component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
||||
to: PropTypes.string,
|
||||
title: PropTypes.string,
|
||||
target: PropTypes.string,
|
||||
isDisabled: PropTypes.bool,
|
||||
noRouter: PropTypes.bool,
|
||||
|
Reference in New Issue
Block a user