mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 02:00:22 +08:00
fix(menu): calc 0 不能省略单位 (#124)
This commit is contained in:
parent
8f9eff78aa
commit
d023fb1374
@ -104,7 +104,7 @@ export default defineComponent({
|
||||
return {
|
||||
height: isHorizontal
|
||||
? `calc(100% + 1px)`
|
||||
: `calc(100% - ${props.showLogo ? '48px' : '0'})`,
|
||||
: `calc(100% - ${props.showLogo ? '48px' : '0px'})`,
|
||||
overflowY: isHorizontal ? 'hidden' : 'auto',
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user