mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
bfd5d7c910
* fix: PageHeader style breaks when title is too long close #15664 * ✅ update snapshot * 💄 Improve PageHeader responsive design
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`PageHeader pageHeader should not render blank dom 1`] = `
|
|
<div
|
|
class="ant-page-header ant-page-header-ghost"
|
|
/>
|
|
`;
|
|
|
|
exports[`PageHeader pageHeader should render correctly int RTL direction 1`] = `
|
|
<div
|
|
class="ant-page-header ant-page-header-ghost ant-page-header-rtl"
|
|
>
|
|
<div
|
|
class="ant-page-header-heading"
|
|
>
|
|
<div
|
|
class="ant-page-header-heading-left"
|
|
>
|
|
<span
|
|
class="ant-page-header-heading-title"
|
|
title="Page Title"
|
|
>
|
|
Page Title
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PageHeader pageHeader should support className 1`] = `
|
|
<div
|
|
class="ant-page-header not-works ant-page-header-ghost"
|
|
>
|
|
<div
|
|
class="ant-page-header-heading"
|
|
>
|
|
<div
|
|
class="ant-page-header-heading-left"
|
|
>
|
|
<span
|
|
class="ant-page-header-heading-title"
|
|
title="Page Title"
|
|
>
|
|
Page Title
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PageHeader rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
<div
|
|
class="ant-page-header ant-page-header-ghost ant-page-header-rtl"
|
|
/>
|
|
`;
|