This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 9a43eb8d7362137df0aa14f6ad5b9c8f1d4abfa9
Author: Aritra Basu <[email protected]>
AuthorDate: Wed Apr 30 23:42:44 2025 +0530

    minor cosmetic changes (#50044)
    
    (cherry picked from commit 01e139e6c454e811b4da08034b8133f5daecf647)
---
 airflow-core/src/airflow/ui/src/components/DataTable/DataTable.tsx | 6 +++++-
 airflow-core/src/airflow/ui/src/pages/Dashboard/Dashboard.tsx      | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/airflow-core/src/airflow/ui/src/components/DataTable/DataTable.tsx 
b/airflow-core/src/airflow/ui/src/components/DataTable/DataTable.tsx
index 785f04c0d68..fcd4a80c109 100644
--- a/airflow-core/src/airflow/ui/src/components/DataTable/DataTable.tsx
+++ b/airflow-core/src/airflow/ui/src/components/DataTable/DataTable.tsx
@@ -142,7 +142,11 @@ export const DataTable = <TData,>({
       {hasRows && display === "card" && cardDef !== undefined ? (
         <CardList cardDef={cardDef} isLoading={isLoading} table={table} />
       ) : undefined}
-      {!hasRows && !Boolean(isLoading) && <Text pt={1}>{noRowsMessage ?? `No 
${modelName}s found.`}</Text>}
+      {!hasRows && !Boolean(isLoading) && (
+        <Text pl={4} pt={1}>
+          {noRowsMessage ?? `No ${modelName}s found.`}
+        </Text>
+      )}
       {hasPagination ? (
         <Pagination.Root
           count={table.getRowCount()}
diff --git a/airflow-core/src/airflow/ui/src/pages/Dashboard/Dashboard.tsx 
b/airflow-core/src/airflow/ui/src/pages/Dashboard/Dashboard.tsx
index cad4f8aa985..7e3ca81985e 100644
--- a/airflow-core/src/airflow/ui/src/pages/Dashboard/Dashboard.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/Dashboard/Dashboard.tsx
@@ -55,7 +55,7 @@ export const Dashboard = () => {
           </Accordion.Root>
         ) : undefined}
         <Heading mb={2} size="2xl">
-          Welcome,
+          Welcome
         </Heading>
       </VStack>
       <Box>

Reply via email to