Washington (CNN) President Donald Trump sent well wishes to Supreme Court Justice Ruth Bader Ginsburg, who was hospitalized Thursday after fracturing three ribs, while also pointing out their political differences.

"I wish her well. She said something very inappropriate during the campaign, but she apologized for it," he told reporters.

"I wouldn't say she's exactly on my side, but I wish her well I hope she gets better and I hope she serves on the Supreme Court for many years," Trump added.

Ginsburg apologized for comments she made during the 2016 election calling Trump a "faker."

"He is a faker," she told CNN's Joan Biskupic of the then-presumptive Republican presidential nominee. "He has no consistency about him. He says whatever comes into his head at the moment. He really has an ego. ... How has he gotten away with not turning over his tax returns? The press seems to be very gentle with him on that."

Read More