Skip to content

Commit

Permalink
Prevent TablePaginator page buttons from being overlapped (#2316)
Browse files Browse the repository at this point in the history
  • Loading branch information
r100-stack authored Nov 4, 2024
1 parent 8979faf commit 1779daf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-apes-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@itwin/itwinui-css': patch
---

In `.iui-table-paginator`, the `.iui-center` gets a higher z-index over `.iui-left` and `.iui-right`.
5 changes: 5 additions & 0 deletions .changeset/stale-lamps-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@itwin/itwinui-react': patch
---

`TablePaginator`'s page buttons no longer get overlapped by neighboring paginator elements.
2 changes: 2 additions & 0 deletions packages/itwinui-css/src/table/paginator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
border-end-start-radius: var(--iui-border-radius-1);
border-end-end-radius: var(--iui-border-radius-1);
border-block-start: 1px solid var(--iui-color-border);
isolation: isolate;

> .iui-left,
> .iui-center,
Expand All @@ -29,6 +30,7 @@
justify-content: center;
flex: 2 1;
color: var(--iui-color-text);
z-index: 1;
}

> .iui-right {
Expand Down

0 comments on commit 1779daf

Please sign in to comment.