fix: logo height
This commit is contained in:
parent
62164c907c
commit
6c24978601
@ -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)
|
||||||
|
@ -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"/>}
|
||||||
|
Loading…
Reference in New Issue
Block a user