Skip to content

Commit

Permalink
fix(dropdown): fix style (#1491)
Browse files Browse the repository at this point in the history
Co-authored-by: maxin <maxin@growingio.com>
  • Loading branch information
nnmax and maxin authored Nov 19, 2021
1 parent 05eba70 commit f3a8786
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dropdown/demos/Dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
export const Default = () => (
<Dropdown
content={
<List>
<List style={{ padding: 0 }}>
<Item prefix={<ReloadOutlined />} value="1">
刷新数据
</Item>
Expand All @@ -39,7 +39,7 @@ export const Default = () => (
<Item prefix={<DownloadOutlined />} value="3">
下载 PDF
</Item>
<Divider style={{ margin: 0 }} />
<Divider style={{ margin: '0 0 4px' }} />
<CascaderItem label="邮件推送" value="4" prefix={<EmailOutlined />}>
<List>
<Item value="4-1" label="创建邮件推送" prefix={<PlusOutlined />} />
Expand Down
2 changes: 1 addition & 1 deletion src/dropdown/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.@{dropdown-prefix-cls} {
min-width: 160px;
padding: 12px 8px;
padding: 8px;
overflow: visible;
background-color: @gray-0;
.border(4);
Expand Down

1 comment on commit f3a8786

@vercel
Copy link

@vercel vercel bot commented on f3a8786 Nov 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.