You have two tables in that HTML. One is wrapped in a
col-lg-9
container; the other is wrapped in a
col-lg-3
container.
As soon as your screen reaches 992px wide, the
col-lg-9
container will be limited to 75% of its parent's width; the
col-lg-3
container will be limited to 25% of its parent's width.
If you want the tables to expand to the full width of the screen, remove those two classes.
Grid system · Bootstrap v4.6[
^]