Cover image field size in blueprint stays small

I have an article blueprint that has a sidebar

  sidebar:
    width: 1/3
    sections:
      meta:
        type: fields
        fields:
          autopublish:
            label: Autopublish on
            type: date
            time: true
            default: now
          author:
            type: users
          tags:
            type: tags
          cover:
            extends: sections/cover

This sidebar has a cover section

type: files
label: Cover image
max: 1
layout: cards
info: "{{ file.dimensions }}"
image:
    ratio: 1/1
    cover: true

I’ve followed as explained here https://getkirby.com/docs/reference/panel/samples/portfolio

This is the expected result: the cover field covers the entire space available in the blueprint

this is what I’m getting: the cover doesn’t fill up the entire space available

I’ve even tried by copying and pasting the full blueprint from the example, but it remains the same… Am I missing something?

Cheers

You have to change the size of the field.

type: files
label: Cover image
max: 1
layout: cards
size: large
info: "{{ file.dimensions }}"
image:
  ratio: 1/1
  cover: true

Also, since this is a field and not a section, better put it into a fields folder instead of in the sections folder to prevent confusion.