Logic Machine Forum
Block Auto-size for iframe? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Block Auto-size for iframe? (/showthread.php?tid=5963)



Block Auto-size for iframe? - victor.back - 14.04.2025

Hi. 
Is there possible to block the auto-size setting for iframes in visualisation, tried using some additional CSS an additional classes but no success.
Code:
.iframeSpotRing {
  height: 670px;               
  overflow-y: auto;            /* for adding scrollbar if conent more then 670px */
  transform: none !important;  /* block autosize */
  width: 100% !important;     
  pointer-events: all !important;
}



RE: Block Auto-size for iframe? - admin - 14.04.2025

Can you explain your use case? transform is applied to the parent plan container element so resetting transform of the iframe won't change anything.


RE: Block Auto-size for iframe? - victor.back - 15.04.2025

(14.04.2025, 07:03)admin Wrote: Can you explain your use case? transform is applied to the parent plan container element so resetting transform of the iframe won't change anything.

I have set to auto-size in the visu settings.  But for a specific iframe thats open in one plan, I would like to not have auto-size, is this possible? 
Because the iframe is for a smaler size than the actual plan thats supose to be shown here, so I want to be able to scroll down inside the iframe. But when tha auto-size is on the view inside the iframe gets auto scaled and result in too small view.  

Hope I get the explanation good enough