From 6831b697a3a25f6e9bf2cd23f1b2cabc161c1679 Mon Sep 17 00:00:00 2001 From: Niko Lindroos Date: Tue, 13 Jan 2026 12:10:26 +0200 Subject: [PATCH 1/2] fix: page table figure should be displayd as grid LIIKUNTA-771. 1. Fix page content to overflow with too wide table. 2. Fix table figure element to be displayed as grid, to get it scrollable on small screens. --- src/core/pageContent/pageMainContent.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/pageContent/pageMainContent.module.scss b/src/core/pageContent/pageMainContent.module.scss index 317183cd..dbd4d576 100644 --- a/src/core/pageContent/pageMainContent.module.scss +++ b/src/core/pageContent/pageMainContent.module.scss @@ -12,6 +12,7 @@ .mainContent { figure { margin: 0; + display: grid; img { height: auto; } From 633a5146634c8b68928af9f3d4dfa9af785c2cec Mon Sep 17 00:00:00 2001 From: Niko Lindroos Date: Tue, 13 Jan 2026 12:26:09 +0200 Subject: [PATCH 2/2] fix: sidebar simple card link button icon size LIIKUNTA-771. After HDS upgrade to v4, all buttons usually needs a size attribute. --- src/core/pageModules/CardsModule/SimpleCard.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/pageModules/CardsModule/SimpleCard.tsx b/src/core/pageModules/CardsModule/SimpleCard.tsx index 21298232..ef208324 100644 --- a/src/core/pageModules/CardsModule/SimpleCard.tsx +++ b/src/core/pageModules/CardsModule/SimpleCard.tsx @@ -5,6 +5,7 @@ import { ButtonPresetTheme, ButtonVariant, IconAngleRight, + IconSize, } from 'hds-react'; import styles from '../pageModules.module.scss'; @@ -101,7 +102,9 @@ export function SimpleCard({ variant={ButtonVariant.Secondary} theme={ButtonPresetTheme.Black} onClick={handleClick} - iconStart={} + iconStart={ +