I'm encountering an issue with alignment in my sandbox project. Specifically, I want the bottom of texts with different font sizes to be on the same y axis but I can't seem to figure out how to make it happen.
Check out this picture to see exactly what I'm aiming for. The code is provided below as well. Can anyone spot what I might be missing?
import "@material-ui/core";
import { Box } from "@material-ui/core";
export default function App() {
return (
<>
<Box display="flex" align-items="baseline" flex-direction="row">
<Box fontSize="2em" fontWeight="600">
Belinda Carlisle
</Box>
<Box>12345678</Box>
</Box>
</>
);
}