From 7ed607f291c2bb54a1c91d571b31cf7d483e8f6a Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Wed, 30 Nov 2022 16:43:42 +0530 Subject: [PATCH] Removed tailwind class from pages component part 1 (#9054) * Removed tailwind class from pages component part 1 * Addressing comments --- .../AddDataQualityTestPage.tsx | 2 +- .../AddGlossary/AddGlossaryPage.component.tsx | 2 +- .../AddGlossaryTermPage.component.tsx | 2 +- .../AddIngestionPage.component.tsx | 6 +- .../AddWebhookPage.component.tsx | 2 +- .../pages/BotDetailsPage/BotDetailsPage.tsx | 6 +- .../CreateUserPage.component.tsx | 2 +- .../CustomPropertiesPageV1.less | 5 ++ .../CustomPropertiesPageV1.tsx | 8 +-- .../DatabaseSchemaPage.component.tsx | 10 +-- .../EditConnectionFormPage.component.tsx | 15 ++-- .../EditIngestionPage.component.tsx | 6 +- .../EditWebhookPage.component.tsx | 2 +- .../ElasticSearchReIndexPage.component.tsx | 70 +++++++++---------- .../ui/src/pages/KPIPage/AddKPIPage.tsx | 12 ++-- .../ui/src/pages/KPIPage/EditKPIPage.tsx | 10 +-- .../ui/src/pages/database-details/index.tsx | 8 +-- .../forgot-password.component.tsx | 12 ++-- .../ui/src/pages/login/LoginCarousel.tsx | 6 +- .../resources/ui/src/pages/login/index.tsx | 38 +++++----- .../ui/src/pages/login/login.style.less | 4 ++ .../resources/ui/src/styles/antd-master.less | 1 + .../src/main/resources/ui/src/styles/app.less | 26 +++++++ .../ui/src/styles/components/form.less | 22 ++++++ .../resources/ui/src/styles/position.less | 11 ++- .../main/resources/ui/src/styles/spacing.less | 23 ++++++ 26 files changed, 199 insertions(+), 112 deletions(-) create mode 100644 openmetadata-ui/src/main/resources/ui/src/styles/components/form.less diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/AddDataQualityTestPage/AddDataQualityTestPage.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/AddDataQualityTestPage/AddDataQualityTestPage.tsx index b2c2beb0a42..461d928b7fd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/AddDataQualityTestPage/AddDataQualityTestPage.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/AddDataQualityTestPage/AddDataQualityTestPage.tsx @@ -45,7 +45,7 @@ const AddDataQualityTestPage = () => { return ( -
+
diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/AddGlossary/AddGlossaryPage.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/AddGlossary/AddGlossaryPage.component.tsx index 5a115b3f380..22430e09e8a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/AddGlossary/AddGlossaryPage.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/AddGlossary/AddGlossaryPage.component.tsx @@ -106,7 +106,7 @@ const AddGlossaryPage: FunctionComponent = () => { return ( -
+
{ {isLoading ? ( ) : ( -
+
{ ); } else { return ( -
+
} layout={PageLayoutType['2ColRTL']} rightPanel={getServiceIngestionStepGuide( @@ -266,7 +266,7 @@ const AddIngestionPage = () => { false, isAirflowRunning )}> -
+
{ return ( -
+
{ return ( No bots available with name{' '} - + {botsName} {' '} @@ -174,7 +174,7 @@ const BotDetailsPage = () => { }, [botsName]); return ( - + {isLoading ? ( ) : ( diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/CreateUserPage/CreateUserPage.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/CreateUserPage/CreateUserPage.component.tsx index 0791694de8b..d99d56d9dba 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/CreateUserPage/CreateUserPage.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/CreateUserPage/CreateUserPage.component.tsx @@ -183,7 +183,7 @@ const CreateUserPage = () => { return ( -
+
{ return viewPermission ? ( @@ -181,7 +181,7 @@ const CustomEntityDetailV1 = () => { {activeTab === 2 && (
@@ -211,11 +211,11 @@ const CustomEntityDetailV1 = () => {
) : (
-
+