getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.32k stars 168 forks source link

[panel] Layout field - icons overlap and weird number display in the tab #3805

Closed vauvarin closed 3 years ago

vauvarin commented 3 years ago

Describe the bug
1- When I use the Layout field in a tab, a number "1" display after the tab label 2- The icons in the right part of each section overlap each over

To Reproduce

partnershipTabHomepage:
    label: Partnership Homepage
    icon: page
    columns:
      partnershipColumnHomepage:
        width: 1/1
        fields:
          layout:
            type: layout
            label: Mise en page
            layouts:
              - "1/1"
              - "1/2, 1/2"
              - "1/3, 1/3, 1/3"

            fieldsets:
              page:
                label: Section
                type: group
                fieldsets:
                  - header
                  - footer

              text:
                label: Module
                type: group
                fieldsets:
                  - heading
                  - text
                  - list
                  - quote
                  - markdown
                  - page
                  - contact
                  - faq
                  - description
                  - campaigns

              media:
                label: Media
                type: group
                fieldsets:
                  - image
                  - gallery
                  - video

            settings:
              fields:
                sectiontype:
                  type: radio
                  label: Type of section
                  default: module
                  options:
                    module: "Module"
                    header: "Header"
                    footer: "Footer"

Screenshots
panel screenshot

Kirby Version
3.6 beta 2

afbora commented 3 years ago
  1. The meaning of that number; It shows how many fields have changed in the tab. This is intended
  2. The is regression
vauvarin commented 3 years ago

"The meaning of that number; It shows how many fields have changed in the tab. This is intended" ok, excellent !

vauvarin commented 3 years ago

When we have an icon + a long label + number, the display is not on the same line anymore:

panel tab screenshot

bastianallgeier commented 3 years ago