From 99b5792e48fc1ca32802d0146e6e484789acecda Mon Sep 17 00:00:00 2001 From: Niko Lindroos Date: Tue, 13 Jan 2026 12:39:36 +0200 Subject: [PATCH 1/2] fix: cms page figure displaying as grid LIIKUNTA-771. Fix CMS page's figure table displaying issues by showing the figure as grid. This makes rest of the content to not overflow from it's width limits and the figure table becomes horizontally scrollable in small screens. NOTE: This temporary fix can be removed when HCRC is upgraded to fix this. --- apps/events-helsinki/src/styles/globals.scss | 5 +++++ apps/hobbies-helsinki/src/styles/globals.scss | 5 +++++ apps/sports-helsinki/src/styles/globals.scss | 5 +++++ packages/components/src/styles/globals.scss | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/apps/events-helsinki/src/styles/globals.scss b/apps/events-helsinki/src/styles/globals.scss index 9fbcf10b2..931d7a035 100644 --- a/apps/events-helsinki/src/styles/globals.scss +++ b/apps/events-helsinki/src/styles/globals.scss @@ -72,3 +72,8 @@ button { font-size: var(--fontsize-heading-xl-mobile) !important; } } + +article figure { + /* TODO: remove when fixed in HCRC */ + display: grid !important; +} diff --git a/apps/hobbies-helsinki/src/styles/globals.scss b/apps/hobbies-helsinki/src/styles/globals.scss index 0b50e2e91..b33e48da7 100644 --- a/apps/hobbies-helsinki/src/styles/globals.scss +++ b/apps/hobbies-helsinki/src/styles/globals.scss @@ -73,3 +73,8 @@ button { font-size: var(--fontsize-heading-xl-mobile) !important; } } + +article figure { + /* TODO: remove when fixed in HCRC */ + display: grid !important; +} diff --git a/apps/sports-helsinki/src/styles/globals.scss b/apps/sports-helsinki/src/styles/globals.scss index 61b0c4ad3..53067adde 100644 --- a/apps/sports-helsinki/src/styles/globals.scss +++ b/apps/sports-helsinki/src/styles/globals.scss @@ -72,3 +72,8 @@ button { font-size: var(--fontsize-heading-xl-mobile) !important; } } + +article figure { + /* TODO: remove when fixed in HCRC */ + display: grid !important; +} diff --git a/packages/components/src/styles/globals.scss b/packages/components/src/styles/globals.scss index 746e154cd..792a80838 100644 --- a/packages/components/src/styles/globals.scss +++ b/packages/components/src/styles/globals.scss @@ -23,3 +23,8 @@ button { background-color: transparent; cursor: pointer; } + +article figure { + /* TODO: remove when fixed in HCRC */ + display: grid !important; +} \ No newline at end of file From ad8bb6aeec55ba77ad8ef402a9e8556bc480cfc8 Mon Sep 17 00:00:00 2001 From: Niko Lindroos Date: Tue, 13 Jan 2026 12:50:07 +0200 Subject: [PATCH 2/2] fix: cms page sidebar card button link LIIKUNTA-771. Fix styles of button links in sidebar. NOTE: This temporary fix can be removed when HCRC is upgraded to fix this. --- apps/events-helsinki/src/styles/globals.scss | 8 ++++++++ apps/hobbies-helsinki/src/styles/globals.scss | 8 ++++++++ apps/sports-helsinki/src/styles/globals.scss | 8 ++++++++ packages/components/src/styles/globals.scss | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/apps/events-helsinki/src/styles/globals.scss b/apps/events-helsinki/src/styles/globals.scss index 931d7a035..c5830b21c 100644 --- a/apps/events-helsinki/src/styles/globals.scss +++ b/apps/events-helsinki/src/styles/globals.scss @@ -77,3 +77,11 @@ article figure { /* TODO: remove when fixed in HCRC */ display: grid !important; } + +aside { + div > button > div { + /* TODO: remove when fixed in HCRC */ + width: 40px !important; + height: 40px !important; + } +} diff --git a/apps/hobbies-helsinki/src/styles/globals.scss b/apps/hobbies-helsinki/src/styles/globals.scss index b33e48da7..d69ba4451 100644 --- a/apps/hobbies-helsinki/src/styles/globals.scss +++ b/apps/hobbies-helsinki/src/styles/globals.scss @@ -78,3 +78,11 @@ article figure { /* TODO: remove when fixed in HCRC */ display: grid !important; } + +aside { + div > button > div { + /* TODO: remove when fixed in HCRC */ + width: 40px !important; + height: 40px !important; + } +} diff --git a/apps/sports-helsinki/src/styles/globals.scss b/apps/sports-helsinki/src/styles/globals.scss index 53067adde..a5eecb41a 100644 --- a/apps/sports-helsinki/src/styles/globals.scss +++ b/apps/sports-helsinki/src/styles/globals.scss @@ -77,3 +77,11 @@ article figure { /* TODO: remove when fixed in HCRC */ display: grid !important; } + +aside { + div > button > div { + /* TODO: remove when fixed in HCRC */ + width: 40px !important; + height: 40px !important; + } +} diff --git a/packages/components/src/styles/globals.scss b/packages/components/src/styles/globals.scss index 792a80838..ae6361259 100644 --- a/packages/components/src/styles/globals.scss +++ b/packages/components/src/styles/globals.scss @@ -27,4 +27,12 @@ button { article figure { /* TODO: remove when fixed in HCRC */ display: grid !important; +} + +aside { + div > button > div { + /* TODO: remove when fixed in HCRC */ + width: 40px !important; + height: 40px !important; + } } \ No newline at end of file