Is it possible to square the corners like image attached?
I would just do this by creating a right-angled triangle of the background colour, and setting it to absolute position, constrained to bottom right.