Browser_mod - resizing/improve visuality of popup card

Adding automation which triggering popcard contain camera stream and a button ,
I came up with below but it doesn’t really good ,

  - alias:  Gate
    id: '1667140897545-9123'
    trigger:
        platform: state
        entity_id: binary_sensor.gate_is_calling
        to: 'on'
    action:
      - service: browser_mod.popup
        data:
          content:
            type: vertical-stack
            cards:
              - type: custom:webrtc-camera
                entity: camera.front_camera
              - show_name: true
                show_icon: true
                type: button
                tap_action:
                  action: call-service
                  service: dahua_vto.open_door
                  data:
                    entity_id: sensor.dahua_vto
                    channel: 1
                entity: binary_sensor.front_gate_status
          timeout: 10000
          title: Gate 
          size: fullscreen
        target:
          device_id:
            - avi-pc
            - avi-mobile

Is there a way embed the button at the side of the camera streaming and open it in larger size which
will fit?
i tried size:fullscreen but its not what i want

1 Like