select and summary text width fixes

more fixes from @pietrogregorini to fix the select and summary text width