fixed layout bug for login dropdown