adjust pading for popups