[dev-overlay] Increase padding if no `x` button present (#76898)
Fixes lack of padding on the right if there is no `x` close button

After the changes:

---
Closes DSN-756