Actual:

Expected:

Edit: the font colours are wanted I was just struggling with the CSS to make an example.