From b720029b2015cd113b59d2ce4409123babdb780d Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Mon, 5 Oct 2020 12:52:41 -0400 Subject: [PATCH] links: disable flexshrink on link items --- pkg/interface/src/views/apps/links/LinkResource.tsx | 2 +- .../src/views/apps/links/components/lib/link-item.js | 4 ++-- .../src/views/apps/links/components/lib/link-submit.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/interface/src/views/apps/links/LinkResource.tsx b/pkg/interface/src/views/apps/links/LinkResource.tsx index 96224fbaf..eb8f4aa40 100644 --- a/pkg/interface/src/views/apps/links/LinkResource.tsx +++ b/pkg/interface/src/views/apps/links/LinkResource.tsx @@ -69,7 +69,7 @@ export function LinkResource(props: LinkResourceProps) { render={(props) => { return ( - + {Array.from(graph.values()).map((node: GraphNode) => { diff --git a/pkg/interface/src/views/apps/links/components/lib/link-item.js b/pkg/interface/src/views/apps/links/components/lib/link-item.js index 9e2ee4615..31bd67bb2 100644 --- a/pkg/interface/src/views/apps/links/components/lib/link-item.js +++ b/pkg/interface/src/views/apps/links/components/lib/link-item.js @@ -36,7 +36,7 @@ export const LinkItem = (props) => { const baseUrl = props.baseUrl || `/~link/${resource}`; return ( - + {img} { target="_blank" rel="noopener noreferrer"> {contents[0].text} - {hostname} ↗ + {hostname} ↗ { return (
{ e.preventDefault();