From 130ff685a686a5a12357a5dc8191b65f3a5cfc7c Mon Sep 17 00:00:00 2001 From: Shrushti Polekar Date: Tue, 13 May 2025 13:29:59 +0530 Subject: [PATCH] Fix: Button styling issues (#21127) * fixes button styling issues * address pr comments --- .../TaskFeedCard/TaskFeedCardNew.component.tsx | 1 - .../Entity/Task/TaskTab/task-tab-new.less | 3 +++ .../PersonaSelectableList.component.tsx | 8 ++------ .../UserProfileRoles.component.tsx | 14 ++------------ .../UserProfileTeams.component.tsx | 14 ++------------ .../ui/src/components/Settings/Users/users.less | 9 +++++++++ .../DomainSelectableTreeNew.tsx | 4 ++-- 7 files changed, 20 insertions(+), 33 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCardNew.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCardNew.component.tsx index c92810e015c..4b866725f00 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCardNew.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/TaskFeedCard/TaskFeedCardNew.component.tsx @@ -376,7 +376,6 @@ const TaskFeedCard = ({ className="task-card-approve-btn d-flex items-center" data-testid="approve-button" icon={} - type="primary" onClick={onTaskResolve}> {t('label.approve')} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Entity/Task/TaskTab/task-tab-new.less b/openmetadata-ui/src/main/resources/ui/src/components/Entity/Task/TaskTab/task-tab-new.less index b2f4d219de8..c0f42db9f3b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Entity/Task/TaskTab/task-tab-new.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/Entity/Task/TaskTab/task-tab-new.less @@ -23,6 +23,9 @@ button { height: 32px; border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; span { font-size: 14px; font-style: normal; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/MyData/Persona/PersonaSelectableList/PersonaSelectableList.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/MyData/Persona/PersonaSelectableList/PersonaSelectableList.component.tsx index 62207537ae3..2530f0ec326 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/MyData/Persona/PersonaSelectableList/PersonaSelectableList.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/MyData/Persona/PersonaSelectableList/PersonaSelectableList.component.tsx @@ -228,9 +228,7 @@ export const PersonaSelectableList = ({