.flex-container { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; } .hlist > div { display : inline-block; } .Stats { max-width:765px; overflow-x:auto; } .Stats > table, th, tr, td { padding:0px; } .Weapon-grid{ overflow-x:auto; }