Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Jun 5, 2023
1 parent 90d62a9 commit 6a9c5b2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,12 @@ as you'd expect.
While `.has-sticky-column` will likely work as expected,
`.has-sticky-header` and `.has-sticky-footer` may not. There are two options:

1. **Remove the `.table-container` altogether**, and just use the `.table` as is with the desired sticky classes.
1. **Remove the `.table-container` altogether**, and just use the `.table` as is with the
desired sticky classes.

2. Add some additional styles to the `.table-container` to change the vertical overflow rule and set a specific height on the container. The example below uses the screen height. Something smaller may be better, depending on your application.
2. Add some additional styles to the `.table-container` to change the vertical overflow rule
and set a specific height on the container. The example below uses the screen height.
Something smaller may be better, depending on your application.

```html
<div class="table-container" style="overflow-y:auto;max-height:100vh;">
Expand Down

0 comments on commit 6a9c5b2

Please # to comment.