Skip to content

Commit

Permalink
remove ul when list is empty (ant-design#14390)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ authored Jan 17, 2019
1 parent ec4fcd2 commit 343a7a9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 328 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15309,9 +15309,6 @@ exports[`ConfigProvider components Transfer configProvider 1`] = `
<div
class="config-transfer-list-body"
>
<ul
class="config-transfer-list-content"
/>
<div
class="config-transfer-list-body-not-found"
>
Expand Down Expand Up @@ -15420,9 +15417,6 @@ exports[`ConfigProvider components Transfer configProvider 1`] = `
<div
class="config-transfer-list-body"
>
<ul
class="config-transfer-list-content"
/>
<div
class="config-transfer-list-body-not-found"
>
Expand Down Expand Up @@ -15488,9 +15482,6 @@ exports[`ConfigProvider components Transfer normal 1`] = `
<div
class="ant-transfer-list-body"
>
<ul
class="ant-transfer-list-content"
/>
<div
class="ant-transfer-list-body-not-found"
>
Expand Down Expand Up @@ -15599,9 +15590,6 @@ exports[`ConfigProvider components Transfer normal 1`] = `
<div
class="ant-transfer-list-body"
>
<ul
class="ant-transfer-list-content"
/>
<div
class="ant-transfer-list-body-not-found"
>
Expand Down Expand Up @@ -15667,9 +15655,6 @@ exports[`ConfigProvider components Transfer prefixCls 1`] = `
<div
class="prefix-Transfer-list-body"
>
<ul
class="prefix-Transfer-list-content"
/>
<div
class="prefix-Transfer-list-body-not-found"
>
Expand Down Expand Up @@ -15778,9 +15763,6 @@ exports[`ConfigProvider components Transfer prefixCls 1`] = `
<div
class="prefix-Transfer-list-body"
>
<ul
class="prefix-Transfer-list-content"
/>
<div
class="prefix-Transfer-list-body-not-found"
>
Expand Down
6 changes: 0 additions & 6 deletions components/empty/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
<div
class="ant-transfer-list-body"
>
<ul
class="ant-transfer-list-content"
/>
<div
class="ant-transfer-list-body-not-found"
>
Expand Down Expand Up @@ -317,9 +314,6 @@ exports[`renders ./components/empty/demo/config-provider.md correctly 1`] = `
<div
class="ant-transfer-list-body"
>
<ul
class="ant-transfer-list-content"
/>
<div
class="ant-transfer-list-body-not-found"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</span>
</div>
</div>
<ul
class="ant-transfer-list-content"
/>
<div
class="ant-transfer-list-body-not-found"
>
Expand Down Expand Up @@ -645,9 +642,6 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</span>
</div>
</div>
<ul
class="ant-transfer-list-content"
/>
<div
class="ant-transfer-list-body-not-found"
>
Expand Down
Loading

0 comments on commit 343a7a9

Please sign in to comment.