Fixed: Link to release page from mobile search

pull/1275/head
Qstick 2 years ago
parent 6ce9e5ceb9
commit 4175c2577e

@ -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}>
<TextTruncate <Link
line={2} to={infoUrl}
text={title} title={title}
/> >
<TextTruncate
line={2}
text={title}
/>
</Link>
</div> </div>
<div className={styles.actions}> <div className={styles.actions}>

Loading…
Cancel
Save