We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc5ff9 commit 802510aCopy full SHA for 802510a
1 file changed
app/components/iframe/IframeContainer.tsx
@@ -48,11 +48,15 @@ function updateGlobalContainerPosition(menuPosition: "top" | "side") {
48
if (menuPosition === "top") {
49
globalIframeContainer.style.top = "64px"; // AppBar height
50
globalIframeContainer.style.bottom = "0";
51
+ globalIframeContainer.style.left = "0";
52
globalIframeContainer.style.height = "auto";
53
} else {
54
globalIframeContainer.style.top = "0";
55
56
+ globalIframeContainer.style.right = "0";
57
+ globalIframeContainer.style.left = "240px";
58
globalIframeContainer.style.height = "100%";
59
+ globalIframeContainer.style.width = "calc(100% - 240px)";
60
}
61
62
0 commit comments