Skip to content

Commit

Permalink
Update to ensure tables are scrollable.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltan-dulac committed Mar 8, 2023
1 parent ba994e2 commit 59edb42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions css/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
top: 0;
}
.sticky-table__container {
/* overflow: auto;
max-height: 70vh; */
overflow: auto;
max-height: 70vh;
position: relative;
}
.sticky-table__container--horizontal-scroll {
Expand All @@ -42,7 +42,7 @@
.sticky-table__container [role="columnheader"] {
position: -webkit-sticky;
position: sticky;
top: 2.375rem;
top: 0;
}
.sticky-table__container th[scope="row"],
.sticky-table__container [role="rowheader"] {
Expand Down
6 changes: 3 additions & 3 deletions less/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
}

&__container {
/* overflow: auto;
max-height: 70vh; */
overflow: auto;
max-height: 70vh;
position: relative;

&--horizontal-scroll {
Expand Down Expand Up @@ -50,7 +50,7 @@
th[scope="col"],
[role="columnheader"] {
.sticky();
top: (38/@px);
top: 0; // was (38/@px);
}

th[scope="row"],
Expand Down

0 comments on commit 59edb42

Please sign in to comment.