Addressing CSS issue of border not reaching end of content