Skip to main content
Question

Can I change the viewport settings for Figma embed codes?

  • August 25, 2024
  • 0 replies
  • 37 views

Emirhan_Dikci


I’m creating a portfolio site and importing Figma prototype links into the modals of related projects. However, a border is appearing because of the following code:

.prototype--viewerContainer--8C5YF {
    margin: calc(12px + var(--toolbar-height)) 48px;
    height: calc(100% -(12px + var(--toolbar-height))* 2);
}

If I could set this to margin: 0; and height: 100%;, the issue would be resolved. However, the iframe cannot be manipulated externally. I would appreciate any solutions to this problem.

This topic has been closed for replies.