add border to empty space in repeat block