Adjust iframe horizontal position: move to the left for hover/focus effects

Some of my components have a bit of an outline when theyā€™re hovered over or focused. So to prevent the iframe visually cropping the outlines, the iframe body element needs a bit of padding. This is fine, but then the elements donā€™t look aligned on the page.

Is there a way to adjust the componentā€™s iframeā€™s positioning, to just move it a few pixels to the left, so that the elements do look aligned" (and maybe extend the width by a few pixels as well, but just moving it to the left a bit would certainly do)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.