Unverified Commit d023fb13 authored by wendell0316's avatar wendell0316 Committed by GitHub

fix(menu): calc 0 不能省略单位 (#124)

parent 8f9eff78
...@@ -104,7 +104,7 @@ export default defineComponent({ ...@@ -104,7 +104,7 @@ export default defineComponent({
return { return {
height: isHorizontal height: isHorizontal
? `calc(100% + 1px)` ? `calc(100% + 1px)`
: `calc(100% - ${props.showLogo ? '48px' : '0'})`, : `calc(100% - ${props.showLogo ? '48px' : '0px'})`,
overflowY: isHorizontal ? 'hidden' : 'auto', overflowY: isHorizontal ? 'hidden' : 'auto',
}; };
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment