this one is fine (no gap)

this one has the gap - probably because border-radius is expressed in fractions of rem?