diff --git a/components/menu/__tests__/__snapshots__/demo.test.js.snap b/components/menu/__tests__/__snapshots__/demo.test.js.snap index d08fd1dceb..cffcc07ad6 100644 --- a/components/menu/__tests__/__snapshots__/demo.test.js.snap +++ b/components/menu/__tests__/__snapshots__/demo.test.js.snap @@ -105,6 +105,7 @@ exports[`renders ./components/menu/demo/inline.md correctly 1`] = ` >
Item 1
@@ -134,6 +135,7 @@ exports[`renders ./components/menu/demo/inline.md correctly 1`] = ` >
Item 2
@@ -583,6 +585,7 @@ exports[`renders ./components/menu/demo/switch-mode.md correctly 1`] = ` aria-owns="sub2$Menu" class="ant-menu-submenu-title" style="padding-left:48px;" + title="Submenu" > Submenu .@{menu-prefix-cls}-item, + > .@{menu-prefix-cls}-item-group > .@{menu-prefix-cls}-item-group-list > .@{menu-prefix-cls}-item, > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title { left: 0; text-overflow: clip; @@ -387,6 +390,14 @@ color: @text-color-dark; } } + + .@{menu-prefix-cls}-item-group-title { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + padding-left: 4px; + padding-right: 4px; + } } &-item-group-list { diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index 3e3af69ac8..6182e1fe04 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -40,7 +40,7 @@ export interface ModalProps { transitionName?: string; className?: string; getContainer?: (instance: React.ReactInstance) => HTMLElement; - zIndex?: boolean; + zIndex?: number; } export interface ModalContext { diff --git a/components/table/__tests__/__snapshots__/Table.filter.test.js.snap b/components/table/__tests__/__snapshots__/Table.filter.test.js.snap index 6592aa0664..35a4b55c35 100644 --- a/components/table/__tests__/__snapshots__/Table.filter.test.js.snap +++ b/components/table/__tests__/__snapshots__/Table.filter.test.js.snap @@ -193,6 +193,7 @@ exports[`Table.filter renders menu correctly 1`] = ` aria-haspopup="true" aria-owns="title$Menu" class="ant-dropdown-menu-submenu-title" + title="Title" > Title Title - - - + Ant Design - A UI Design Language