process li width adapting