kàn​cài​chī​fàn​liàng​tǐ​cái​yī

to act according to circumstances

看菜吃饭,量体裁衣 看菜吃飯,量體裁衣 kàn​cài​chī​fàn​liàng​tǐ​cái​yī
to act according to circumstances
literally meaning to eat depending on the dish and cut cloth according to the body; to act according to actual circumstances or resources available