From 35403ce3c09abb608d1a8091712d661d6c3d9e52 Mon Sep 17 00:00:00 2001 From: dragnoir Date: Wed, 6 Mar 2024 09:51:31 +0100 Subject: [PATCH] Fix: font size from 15 to label size --- src/pages/workspace/categories/WorkspaceCategoriesPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx index 8a35c085ac56..9c851a54aafa 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx @@ -57,7 +57,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP isSelected: !!selectedCategories[value.name], rightElement: ( - + {value.enabled ? translate('workspace.common.enabled') : translate('workspace.common.disabled')} @@ -69,7 +69,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP ), })), - [policyCategories, selectedCategories, styles.alignSelfCenter, styles.disabledText, styles.flexRow, styles.p1, styles.pl2, theme.icon, translate], + [policyCategories, selectedCategories, styles.alignSelfCenter, styles.disabledText, styles.flexRow, styles.label, styles.p1, styles.pl2, theme.icon, translate], ); const toggleCategory = (category: PolicyForList) => {