From 911caa1e37e6ac88773e74b20d2f8601656cfc17 Mon Sep 17 00:00:00 2001 From: anuoua Date: Mon, 30 Jan 2023 10:35:25 +0800 Subject: [PATCH] fix: navbar_ui style (#1398) --- .../route-switch/antd/admin-layout/index.tsx | 46 +++++++++++++++---- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/packages/core/client/src/route-switch/antd/admin-layout/index.tsx b/packages/core/client/src/route-switch/antd/admin-layout/index.tsx index ab2532df7..565c17fe4 100644 --- a/packages/core/client/src/route-switch/antd/admin-layout/index.tsx +++ b/packages/core/client/src/route-switch/antd/admin-layout/index.tsx @@ -4,8 +4,11 @@ import { Layout, Spin } from 'antd'; import React, { createContext, useContext, useMemo, useRef, useState } from 'react'; import { useHistory, useRouteMatch } from 'react-router-dom'; import { - ACLRolesCheckProvider, CurrentAppInfoProvider, CurrentUser, - CurrentUserProvider, findByUid, + ACLRolesCheckProvider, + CurrentAppInfoProvider, + CurrentUser, + CurrentUserProvider, + findByUid, findMenuItem, RemoteCollectionManagerProvider, RemotePluginManagerToolbar, @@ -15,7 +18,7 @@ import { useDocumentTitle, useRequest, useRoute, - useSystemSettings + useSystemSettings, } from '../../../'; import { useCollectionManager } from '../../../collection-manager'; @@ -161,12 +164,28 @@ export const InternalAdminLayout = (props: any) => { position: relative; width: 100%; height: 100%; + display: flex; `} >
-
+
{ `} src={result?.data?.data?.logo?.url} /> - {/* {result?.data?.data?.title} */}
-
+