From efea247c7e00e8565c3304f7581b4c0049321df6 Mon Sep 17 00:00:00 2001 From: Marco polo Date: Mon, 2 Oct 2023 13:02:23 -0400 Subject: [PATCH] [ez][Asset graph] revert padding change (#16942) ## Summary & Motivation Reverting a padding change I made that tried to solve one problem but created another. I solved the original problem in a separate PR. before: Screenshot 2023-10-02 at 8 37 19 AM after: Screenshot 2023-10-02 at 8 36 44 AM ## How I Tested These Changes --- .../packages/ui-components/src/components/PageHeader.tsx | 8 ++------ .../packages/ui-core/src/assets/AssetGroupRoot.tsx | 1 - .../ui-core/src/assets/AssetsGroupsGlobalGraphRoot.tsx | 1 - 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/js_modules/dagster-ui/packages/ui-components/src/components/PageHeader.tsx b/js_modules/dagster-ui/packages/ui-components/src/components/PageHeader.tsx index ae3ee67d374e0..a8a742f07dfdf 100644 --- a/js_modules/dagster-ui/packages/ui-components/src/components/PageHeader.tsx +++ b/js_modules/dagster-ui/packages/ui-components/src/components/PageHeader.tsx @@ -13,21 +13,17 @@ interface Props { metadata?: React.ReactNode; right?: React.ReactNode; tabs?: React.ReactNode; - paddingBelowTitle?: number; } export const PageHeader = (props: Props) => { - const {title, tags, right, tabs, paddingBelowTitle = 16} = props; + const {title, tags, right, tabs} = props; return ( - + {title} {tags} diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/AssetGroupRoot.tsx b/js_modules/dagster-ui/packages/ui-core/src/assets/AssetGroupRoot.tsx index 9c22f1a5c5a71..3256824fe761e 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/assets/AssetGroupRoot.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/assets/AssetGroupRoot.tsx @@ -85,7 +85,6 @@ export const AssetGroupRoot: React.FC<{repoAddress: RepoAddress; tab: 'lineage' {groupName}} right={} - paddingBelowTitle={0} tags={} tabs={ { Global Asset Lineage} - paddingBelowTitle={0} right={} />