mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
trailing spaces
This commit is contained in:
parent
7fcfa13c24
commit
fda881cc7a
@ -156,7 +156,7 @@ describe('Menu', () => {
|
||||
expect(wrapper.find('.ant-menu-sub').at(0).hasClass('ant-menu-inline')).toBe(true);
|
||||
expect(wrapper.find('.ant-menu-sub').at(0).hasClass('ant-menu-hidden')).toBe(false);
|
||||
});
|
||||
|
||||
|
||||
it('should open submenu when click submenu title (inline)', async () => {
|
||||
const wrapper = mount(
|
||||
<Menu mode="inline">
|
||||
|
@ -21,6 +21,30 @@ exports[`renders ./components/tooltip/demo/arrow-point-at-center.md correctly 1`
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders ./components/tooltip/demo/auto-adjust-overflow.md correctly 1`] = `
|
||||
<div
|
||||
style="overflow:hidden;position:relative;padding:24px;border:1px solid #e9e9e9;"
|
||||
>
|
||||
<button
|
||||
class="ant-btn"
|
||||
type="button"
|
||||
>
|
||||
<span>
|
||||
Adjust automatically / 自动调整
|
||||
</span>
|
||||
</button>
|
||||
<br />
|
||||
<button
|
||||
class="ant-btn"
|
||||
type="button"
|
||||
>
|
||||
<span>
|
||||
Ingore / 不处理
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
|
||||
<span>
|
||||
Tooltip will show when mouse enter.
|
||||
|
Loading…
Reference in New Issue
Block a user