From 4023c21b10e2132683ecb6f44289fec3a526f139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81sd=C3=ADs=20Erna=20Gu=C3=B0mundsd=C3=B3ttir?= Date: Thu, 31 Oct 2024 14:59:17 +0000 Subject: [PATCH] fix(my-pages): wrap tag (#16675) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../core/src/components/ActionCard/ActionCard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/service-portal/core/src/components/ActionCard/ActionCard.tsx b/libs/service-portal/core/src/components/ActionCard/ActionCard.tsx index 29c012e7cd48..236a75fd2269 100644 --- a/libs/service-portal/core/src/components/ActionCard/ActionCard.tsx +++ b/libs/service-portal/core/src/components/ActionCard/ActionCard.tsx @@ -11,11 +11,11 @@ import { TagVariant, Text, } from '@island.is/island-ui/core' +import cn from 'classnames' import * as React from 'react' import { CardLoader, isExternalLink } from '../..' -import * as styles from './ActionCard.css' import LinkResolver from '../LinkResolver/LinkResolver' -import cn from 'classnames' +import * as styles from './ActionCard.css' type ActionCardProps = { capitalizeHeading?: boolean @@ -349,6 +349,7 @@ export const ActionCard: React.FC> = ({ flexDirection="row" justifyContent="spaceBetween" alignItems={['flexStart', 'flexStart', 'flexEnd']} + flexWrap="wrap" > {heading && (