我不確定我是否完全理解您的問(wèn)題,但這是我認(rèn)為的解決方案:
<div class="w-fit flex flex-col"> <div class="flex-initial w-56 bg-blue-500 p-4"> <!-- The first child --> <!-- Content of the first child --> </div> <div class="bg-red-500 p-4"> <!-- All the rest components wrap around it --> <!-- Content of the rest components --> </div> </div>