New layout and legacy layout column issue

new layout problem for customisation theme
my issue is if i using freight charges and amount is greater than zero then new layout show additional column …please fix new layout

legacy layout if item add then tax column show not depending for amount
new layout is depending for amount not item

legacy layout

new layout

if use freight charges and amount is 0 or empty then is working fine