Skip to content

Commit

Permalink
fix(components): [space] missing empty string size
Browse files Browse the repository at this point in the history
  • Loading branch information
HeftyKoo committed Jun 2, 2022
1 parent 28c1b84 commit f36b570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/space/src/use-space.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import type { ComponentSize } from '@element-plus/constants'

const SIZE_MAP: Record<ComponentSize, number> = {
small: 8,
'': 8,
default: 12,
large: 16,
}
Expand Down

0 comments on commit f36b570

Please sign in to comment.