mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Link to release page from mobile search
This commit is contained in:
@@ -35,9 +35,11 @@ $hoverScale: 1.05;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
overflow: hidden;
|
||||||
width: 85%;
|
width: 85%;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
|
@@ -3,6 +3,7 @@ import React, { Component } from 'react';
|
|||||||
import TextTruncate from 'react-text-truncate';
|
import TextTruncate from 'react-text-truncate';
|
||||||
import Label from 'Components/Label';
|
import Label from 'Components/Label';
|
||||||
import IconButton from 'Components/Link/IconButton';
|
import IconButton from 'Components/Link/IconButton';
|
||||||
|
import Link from 'Components/Link/Link';
|
||||||
import SpinnerIconButton from 'Components/Link/SpinnerIconButton';
|
import SpinnerIconButton from 'Components/Link/SpinnerIconButton';
|
||||||
import { icons, kinds } from 'Helpers/Props';
|
import { icons, kinds } from 'Helpers/Props';
|
||||||
import CategoryLabel from 'Search/Table/CategoryLabel';
|
import CategoryLabel from 'Search/Table/CategoryLabel';
|
||||||
@@ -71,6 +72,7 @@ class SearchIndexOverview extends Component {
|
|||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
title,
|
title,
|
||||||
|
infoUrl,
|
||||||
protocol,
|
protocol,
|
||||||
downloadUrl,
|
downloadUrl,
|
||||||
categories,
|
categories,
|
||||||
@@ -96,10 +98,16 @@ class SearchIndexOverview extends Component {
|
|||||||
<div className={styles.info} style={{ height: contentHeight }}>
|
<div className={styles.info} style={{ height: contentHeight }}>
|
||||||
<div className={styles.titleRow}>
|
<div className={styles.titleRow}>
|
||||||
<div className={styles.title}>
|
<div className={styles.title}>
|
||||||
|
<Link
|
||||||
|
to={infoUrl}
|
||||||
|
title={title}
|
||||||
|
>
|
||||||
<TextTruncate
|
<TextTruncate
|
||||||
line={2}
|
line={2}
|
||||||
text={title}
|
text={title}
|
||||||
/>
|
/>
|
||||||
|
</Link>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.actions}>
|
<div className={styles.actions}>
|
||||||
|
Reference in New Issue
Block a user