react-bootstrap-table
react-bootstrap-table copied to clipboard
Inline styles causing issues
There are inline styles of height: 100% for the divs with classes react-bs-table react-bs-table-bordered and the react-bs-container-body this produces a weird/undesirable rendering in the theme I'm using ( the container stretches past the table contents toward the bottom of the page ). Turning off the inline styles in dev tools fixes the table for me.
Here are some examples of the issue:
Why are there inline styles there? And how do you recommend clearing them out?
For now, I've done this to override the inline styles
/* fix for react-bootstrap-table's inline height styles */
.react-bs-table.react-bs-table-bordered[style],
.react-bs-container-body[style] {
height: inherit !important;
}