New Lovelace picture element resize

I have the new version of HA, with lovelace. I’m trying it out with a floorplan using the picture element card. But, I can’t get the 1500px width image to fill the screen. It seems to resize it down to around 400px. I have added panel: true to the card, but it still won’t resize.

I have tried firefox and chrome.