Adapte list container width to fit in remaining size