Misalign table rows by importing Bootstrap 5 CSS

Tags: #<Tag:0x00007efc60a88e88> #<Tag:0x00007efc60a88d20>

Hello,

I’m using bootstrap 5 with le latest version of handsontable.

but when i import bootstrap.min.css the header and the row is miss aligned.

import Handsontable from “handsontable”;
import ‘handsontable/dist/handsontable.full.min.css’;
export default function () {

const data = [
    ['', 'Tesla', 'Volvo', 'Toyota', 'Ford'],
    ['2019', 10, 11, 12, 13],
    ['2020', 20, 11, 14, 13],
    ['2021', 30, 15, 12, 13]
];

const container = document.getElementById('example');
const hot = new Handsontable(container, {
    data: data,
    rowHeaders: true,
    colHeaders: true,
    stretchH: 'all',
    licenseKey: "non-commercial-and-evaluation",
});

}

Hi @zchen

Thank you for contacting us. Please send a code demo in which the issue is replicable. Without it we can’t determine the issue.