I am loading the following page into an iframe card:
Is it possible to resize the content within the iframe? If yes, how?
I am loading the following page into an iframe card:
Is it possible to resize the content within the iframe? If yes, how?
Thats brilliant, thank you.
Hey I know this is an old post, but you seem to be the only one that has posted anything like this, but even copying your code directly over it doesn’t seem to work. Do you know if something has changed in HA that would make this no longer work?
still works
I can’t get the indentation right from the example in the top.
can someone help me out pls.
could it be something like:
style: |
#root iframe {
transform: scale(60%)
}
url: …
My goal is to scale Music Assistant in an iFrame, so that i can see more than the usual albums in one row.
This seemed to work…adding scale(1.5); or what ever number suits…
card_mod:
style: |
div#root iframe {
transform: scale(1.5);
transform-origin: 0 0;
width: 100000px;
height: 100000px;
}