2018-09-05 13:28:54 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
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">
|
2020-06-24 09:25:47 +00:00
|
|
|
<!---->
|
|
|
|
<!---->
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-body" style="padding: 0px;">
|
|
|
|
<div class="ant-card-loading-content">
|
|
|
|
<div class="ant-row" style="margin-left: -4px; margin-right: -4px;">
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-22" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-row" style="margin-left: -4px; margin-right: -4px;">
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-8" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-15" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-row" style="margin-left: -4px; margin-right: -4px;">
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-6" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-18" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-row" style="margin-left: -4px; margin-right: -4px;">
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-13" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-9" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ant-row" style="margin-left: -4px; margin-right: -4px;">
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-4" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-3" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
2020-03-07 11:45:13 +00:00
|
|
|
<div class="ant-col ant-col-16" style="padding-left: 4px; padding-right: 4px;">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-card-loading-block"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-24 09:25:47 +00:00
|
|
|
<!---->
|
2018-09-05 13:28:54 +00:00
|
|
|
</div>
|
|
|
|
`;
|
2018-11-28 13:58:42 +00: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>
|
2020-06-24 09:25:47 +00:00
|
|
|
<div class="ant-card-extra"><button class="ant-btn" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Button</span>
|
|
|
|
</button></div>
|
2018-11-28 13:58:42 +00:00
|
|
|
</div>
|
2020-06-24 09:25:47 +00:00
|
|
|
<!---->
|
2018-11-28 13:58:42 +00:00
|
|
|
</div>
|
2020-06-24 09:25:47 +00:00
|
|
|
<!---->
|
2018-11-28 13:58:42 +00:00
|
|
|
<div class="ant-card-body">
|
|
|
|
<p>Card content</p>
|
|
|
|
</div>
|
2020-06-24 09:25:47 +00:00
|
|
|
<!---->
|
2018-11-28 13:58:42 +00:00
|
|
|
</div>
|
|
|
|
`;
|