Look at what the popup looks like currently:
Currently, the element's content has a
style="padding-right: 35px;" HTML attribute on it. Changing it to
style="padding-right: 45px;" would add the padding:
I think the padding just belongs there. Having the [X] button so close to the text feels like it should not be the case.