adapt chat module to new css system