From 7849313f84dff5e5c090db98b8c4e13dadb3e566 Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Tue, 30 Jan 2024 21:05:09 +0530 Subject: [PATCH] MINOR : fix side spacing in setting and other pages (#14957) * fix side spacing in setting and other pages * minor fix --- .../AppDetails/AppDetails.component.tsx | 212 +++++++++--------- .../Applications/AppDetails/app-details.less | 3 - .../BotListV1/BotListV1.component.tsx | 2 +- .../Team/TeamDetails/TeamDetailsV1.tsx | 14 +- .../TeamDetails/UserTab/UserTab.component.tsx | 2 +- .../components/Team/TeamDetails/teams.less | 8 +- .../src/pages/Application/ApplicationPage.tsx | 6 +- .../LoginConfigurationPage.tsx | 2 +- .../CustomLogoConfigSettingsPage.tsx | 2 +- .../CustomPageSettings/CustomPageSettings.tsx | 2 +- .../CustomPropertiesPageV1.tsx | 4 +- .../EmailConfigSettingsPage.component.tsx | 2 +- .../NotificationListPage.tsx | 2 +- .../ObservabilityAlertDetailsPage.tsx | 2 +- .../ObservabilityAlertsPage.tsx | 2 +- .../PersonaDetailsPage/PersonaDetailsPage.tsx | 2 +- .../Persona/PersonaListPage/PersonaPage.tsx | 2 +- .../PoliciesListPage/PoliciesListPage.tsx | 2 +- .../RolesPage/RolesListPage/RolesListPage.tsx | 2 +- .../src/pages/ServicesPage/ServicesPage.tsx | 2 +- .../TestSuiteDetailsPage.component.tsx | 2 +- .../src/pages/UserListPage/UserListPageV1.tsx | 2 +- .../src/main/resources/ui/src/styles/app.less | 2 +- 23 files changed, 140 insertions(+), 141 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/AppDetails.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/AppDetails.component.tsx index e8217f1d44b..b601ffea562 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/AppDetails.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/AppDetails.component.tsx @@ -317,7 +317,7 @@ const AppDetails = () => { ), key: ApplicationTabs.CONFIGURATION, children: ( -
+
{ ), key: ApplicationTabs.SCHEDULE, children: ( -
+
{appData && ( { ), key: ApplicationTabs.HISTORY, children: ( -
+
), @@ -400,117 +400,115 @@ const AppDetails = () => { return ( -
- - - - - -
- - -
- -
- - - - + + + + + +
+ + +
+ +
+ + + + -
- - {getEntityName(appData)} - +
+ + {getEntityName(appData)} + -
- - - - {`${t('label.installed')} ${getRelativeTime( - appData?.updatedAt - )}`} - - +
+ + + + {`${t('label.installed')} ${getRelativeTime( + appData?.updatedAt + )}`} + + - - - - {t('label.developed-by-developer', { - developer: appData?.developer, - })} - - + + + + {t('label.developed-by-developer', { + developer: appData?.developer, + })} + + - {appData?.developerUrl && ( -
- - - {t('label.visit-developer-website')} - -
- )} -
+ {appData?.developerUrl && ( +
+ + + {t('label.visit-developer-website')} + +
+ )}
- - - - - - +
+ + + + + + - setShowDeleteModel(false)} - onConfirm={onConfirmAction} - /> -
+ setShowDeleteModel(false)} + onConfirm={onConfirmAction} + /> ); }; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/app-details.less b/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/app-details.less index ec14a75b288..45b2fa4ea85 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/app-details.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/Applications/AppDetails/app-details.less @@ -35,9 +35,6 @@ } .app-details-page-layout { - .page-layout-v1-center { - padding: 0; - } // **** Lazy Logs **** .lazy-log-container { diff --git a/openmetadata-ui/src/main/resources/ui/src/components/BotListV1/BotListV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/BotListV1/BotListV1.component.tsx index 8c8a3eab44a..a4fbec11751 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/BotListV1/BotListV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/BotListV1/BotListV1.component.tsx @@ -243,7 +243,7 @@ const BotListV1 = ({
) : ( - + diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx index 6099c4b4f70..f470386680b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx @@ -654,7 +654,7 @@ const TeamDetailsV1 = ({ ) : ( + {entityPermissions.EditAll && !isTeamDeleted && (