Skip to content

Commit d023fb1

Browse files
authoredDec 11, 2020
fix(menu): calc 0 不能省略单位 (#124)
1 parent 8f9eff7 commit d023fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/components/Menu/src/BasicMenu.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default defineComponent({
104104
return {
105105
height: isHorizontal
106106
? `calc(100% + 1px)`
107-
: `calc(100% - ${props.showLogo ? '48px' : '0'})`,
107+
: `calc(100% - ${props.showLogo ? '48px' : '0px'})`,
108108
overflowY: isHorizontal ? 'hidden' : 'auto',
109109
};
110110
}

0 commit comments

Comments
 (0)
Please sign in to comment.