From 4175c2577ef78bd0afc52869358cada403f8ce7f Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 31 Dec 2022 15:56:29 -0600 Subject: [PATCH] Fixed: Link to release page from mobile search --- .../src/Search/Mobile/SearchIndexOverview.css | 2 ++ .../src/Search/Mobile/SearchIndexOverview.js | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/frontend/src/Search/Mobile/SearchIndexOverview.css b/frontend/src/Search/Mobile/SearchIndexOverview.css index c2d9b7abd..4e184bd0a 100644 --- a/frontend/src/Search/Mobile/SearchIndexOverview.css +++ b/frontend/src/Search/Mobile/SearchIndexOverview.css @@ -35,9 +35,11 @@ $hoverScale: 1.05; } .title { + overflow: hidden; width: 85%; font-weight: 500; font-size: 14px; + overflow-wrap: break-word; } .actions { diff --git a/frontend/src/Search/Mobile/SearchIndexOverview.js b/frontend/src/Search/Mobile/SearchIndexOverview.js index 6b1e0ea2a..df9d1e3e7 100644 --- a/frontend/src/Search/Mobile/SearchIndexOverview.js +++ b/frontend/src/Search/Mobile/SearchIndexOverview.js @@ -3,6 +3,7 @@ import React, { Component } from 'react'; import TextTruncate from 'react-text-truncate'; import Label from 'Components/Label'; import IconButton from 'Components/Link/IconButton'; +import Link from 'Components/Link/Link'; import SpinnerIconButton from 'Components/Link/SpinnerIconButton'; import { icons, kinds } from 'Helpers/Props'; import CategoryLabel from 'Search/Table/CategoryLabel'; @@ -71,6 +72,7 @@ class SearchIndexOverview extends Component { render() { const { title, + infoUrl, protocol, downloadUrl, categories, @@ -96,10 +98,16 @@ class SearchIndexOverview extends Component {
- + + + +