Skip to content

Commit

Permalink
fix(menu): calc 0 不能省略单位 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
wendell0316 authored Dec 11, 2020
1 parent 8f9eff7 commit d023fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/src/BasicMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
}
Expand Down

0 comments on commit d023fb1

Please sign in to comment.