Fix secondary nav dropdown menu styling in tablet and mobile screens Closes #54648 See merge request gitlab-org/gitlab-ce!23446