Responsive popup for mobile/desktop

I have a reusable popup and it is responsive on it’s own in the editor. When adding the popup to a reusable, (and responsive) header, the header is responsive but the popup is not.

Is there a solution for this, or is it best to use 1 desktop and 1 mobile popup?