UI template improvement: actions menu auto-adjusts height