2018-05-03 15:17:04 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Card rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-bordered ant-card-rtl"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-05-03 15:17:04 +08:00
|
|
|
exports[`Card should still have padding when card which set padding to 0 is loading 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-loading ant-card-bordered"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
style="padding: 0px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-content"
|
|
|
|
style="padding: 24px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-row"
|
|
|
|
style="margin-left: -4px; margin-right: -4px;"
|
|
|
|
>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-22"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-row"
|
|
|
|
style="margin-left: -4px; margin-right: -4px;"
|
|
|
|
>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-8"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-15"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-row"
|
|
|
|
style="margin-left: -4px; margin-right: -4px;"
|
|
|
|
>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-6"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-18"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-row"
|
|
|
|
style="margin-left: -4px; margin-right: -4px;"
|
|
|
|
>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-13"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-9"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-row"
|
|
|
|
style="margin-left: -4px; margin-right: -4px;"
|
|
|
|
>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-4"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-3"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
2020-01-03 15:20:28 +08:00
|
|
|
class="ant-col ant-col-16"
|
2018-05-03 15:17:04 +08:00
|
|
|
style="padding-left: 4px; padding-right: 4px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2018-09-16 17:44:41 +08:00
|
|
|
|
|
|
|
exports[`Card title should be vertically aligned 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-bordered"
|
|
|
|
style="width: 300px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-head"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-head-wrapper"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-extra"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|