When he was president, Donald Trump remade the Supreme Court with three nominees, and in the process shifted the court’s ideological balance to the conservative right.