Skip to content

Commit 0f1c3e2

Browse files
fix: decrease z-index for table placeholder (#308)
* fix: adjust z-index for table placeholder to prevent overlay issues * update z-index comment for table placeholder
1 parent bb55382 commit 0f1c3e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Table/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ const StyledTable = styled(AntdTable)`
3030
font-size: ${fontSizeFromTheme};
3131
}
3232
33-
/* Avoid raising the "Keine Daten" overlay above elements such as the menu or dropdown, which have z-index 1050 */
33+
/* Avoid raising the "Keine Daten" overlay above elements such as the menu or dropdown, which have z-index 1050
34+
or modals, which have z-index 1000 */
3435
.mll-ant-table-placeholder {
3536
/* !important is necessary because antd sets the z-index to 9999 via the style attribute */
36-
z-index: 1049 !important;
37+
z-index: 990 !important;
3738
}
3839
3940
${(props) =>

0 commit comments

Comments
 (0)