elabftw icon indicating copy to clipboard operation
elabftw copied to clipboard

Better fitting of OpenCloning iframe

Open manulera opened this issue 10 months ago • 2 comments

Describe your feature request precisely

Hi @NicolasCARPi, I discussed this with @sjkoke. I think as it is, it's a bit hard to use the OpenCloning embedded iframe once the cloning strategy starts getting bigger. In the OpenCloning website, you can just Ctrl + - to unzoom in the browser when things get big, and that really helps. The problem is that as it is, when you unzoom, you reduce the box size as well, so it does not really help much (see examples below).

I wonder if there is a low effort way to decouple the shrinkage from one another? You mentioned a zoom bar, but perhaps setting the height of the element to take up a percentage of the screen would suffice? I don't know what you think would work best.

Images here Image Image

Pro Support

No response

manulera avatar Jun 12 '25 08:06 manulera

Hello,

I made a change that seems to address the problem you mention. At 30% zoom out, before:

Image

After:

Image

NicolasCARPi avatar Jun 14 '25 09:06 NicolasCARPi

Yes! That looks much better!

manulera avatar Jun 16 '25 08:06 manulera