fix: logo height

This commit is contained in:
chenos 2021-03-16 23:00:18 +08:00
parent 62164c907c
commit 6c24978601
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ export function FormDrawer(title: any, content: any): IFormDrawer {
env.root.className = 'env-root'; env.root.className = 'env-root';
const props = getDrawerProps(title) const props = getDrawerProps(title)
const drawer = { const drawer = {
width: '50%', width: '75%',
...props, ...props,
onClose: (e: any) => { onClose: (e: any) => {
props?.onClose?.(e) props?.onClose?.(e)

View File

@ -22,7 +22,7 @@ export function TopMenuLayout(props: any) {
return ( return (
<Layout style={{ height: '100vh' }}> <Layout style={{ height: '100vh' }}>
<Layout.Header style={{height: 48, lineHeight: '48px', padding: 0}} className="nb-header"> <Layout.Header style={{height: 48, lineHeight: '48px', padding: 0}} className="nb-header">
<div className="logo" style={{width: 200, height: 24, float: 'left'}}> <div className="logo" style={{width: 200, height: 48, float: 'left'}}>
{!logoUrl ? <Logo/> : <img src={logoUrl}/>} {!logoUrl ? <Logo/> : <img src={logoUrl}/>}
</div> </div>
{!isMobile && <Menu currentPageName={currentPageName} hideChildren={true} items={menu} className={'noco-top-menu'} style={{float: 'left'}} theme="dark" mode="horizontal"/>} {!isMobile && <Menu currentPageName={currentPageName} hideChildren={true} items={menu} className={'noco-top-menu'} style={{float: 'left'}} theme="dark" mode="horizontal"/>}