Table overflow fix and medium layout fix