From 88ba87d5d782106a325fc79f44d0168f2f64fedc 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 11:33:12 +0000 Subject: [PATCH] fix: breadcrumbs + button filter --- libs/service-portal/core/src/components/Filter/Filter.css.ts | 2 +- libs/service-portal/core/src/components/Filter/Filter.tsx | 1 + libs/service-portal/core/src/lib/messages.ts | 4 ++++ libs/service-portal/law-and-order/src/lib/navigation.ts | 3 +-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libs/service-portal/core/src/components/Filter/Filter.css.ts b/libs/service-portal/core/src/components/Filter/Filter.css.ts index 5b4792c2e7e0..fd90a32391f9 100644 --- a/libs/service-portal/core/src/components/Filter/Filter.css.ts +++ b/libs/service-portal/core/src/components/Filter/Filter.css.ts @@ -18,6 +18,6 @@ export const popoverContainer = style({ export const lgBtn = style({}) -globalStyle(`${lgBtn} span`, { +globalStyle(`${lgBtn} > span`, { height: '100%', }) diff --git a/libs/service-portal/core/src/components/Filter/Filter.tsx b/libs/service-portal/core/src/components/Filter/Filter.tsx index cbe6f6045117..a1c56538fabd 100644 --- a/libs/service-portal/core/src/components/Filter/Filter.tsx +++ b/libs/service-portal/core/src/components/Filter/Filter.tsx @@ -136,6 +136,7 @@ export const Filter: FC> = ({ icon="filter" fluid nowrap + size="small" > {popover.visible ? labelClose : labelOpen} diff --git a/libs/service-portal/core/src/lib/messages.ts b/libs/service-portal/core/src/lib/messages.ts index 7bb01507e4e2..eb534bda0c73 100644 --- a/libs/service-portal/core/src/lib/messages.ts +++ b/libs/service-portal/core/src/lib/messages.ts @@ -1656,6 +1656,10 @@ export const m = defineMessages({ defaultMessage: 'Hér eru upplýsingar og yfirlit yfir mál sem þú átt hjá dómskerfinu.', }, + myCourtCases: { + id: 'service.portal:my-court-cases', + defaultMessage: 'Mín dómsmál', + }, courtCases: { id: 'service.portal:court-cases', defaultMessage: 'Dómsmál', diff --git a/libs/service-portal/law-and-order/src/lib/navigation.ts b/libs/service-portal/law-and-order/src/lib/navigation.ts index e5b58bb4798e..f929f58a9c41 100644 --- a/libs/service-portal/law-and-order/src/lib/navigation.ts +++ b/libs/service-portal/law-and-order/src/lib/navigation.ts @@ -15,9 +15,8 @@ export const lawAndOrderNavigation: PortalNavigationItem = { path: LawAndOrderPaths.Overview, }, { - name: m.courtCases, + name: m.myCourtCases, path: LawAndOrderPaths.CourtCases, - breadcrumbHide: true, children: [ { name: m.courtCases,