convert some flex elements from battle unit css to use blocks