calculate min-height for actions in detail view