Add max-height size to widgets