Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Table block: width in columns property ignored #3323

Closed
silllli opened this issue May 12, 2021 · 1 comment · Fixed by #3411
Closed

Table block: width in columns property ignored #3323

silllli opened this issue May 12, 2021 · 1 comment · Fixed by #3411
Assignees
Labels
type: bug 🐛 Is a bug; fixes a bug
Milestone

Comments

@silllli
Copy link
Contributor

silllli commented May 12, 2021

Describe the bug

In the preview of the table block (blocks/table) the width settings of the columns property are being ignored.

To Reproduce
Steps to reproduce the behavior:

  1. Create a block that extends blocks/table
  2. Set column widths under the columns property
  3. Use the block and add an entry
  4. Look at the preview

Sample code:

name: Tabelle
extends: blocks/table
fields:
  rows:
    type: structure
    columns:
      entry:
        width: 1/3
      description:
        width: 2/3
    fields:
      entry:
        type: text
        counter: false
        label: Eintrag
        width: 1/3
      description:
        type: writer
        label: Erläuterung
        marks:
          - bold
          - link
        width: 2/3
    label: Einträge

Expected behavior

The columns having the set widths.

Screenshots

Bildschirmfoto 2021-05-12 um 17 08 37

Kirby Version

3.5.5

Console output

No console output.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Google Chrome
  • Version: 90.0.4430.212
@afbora afbora added this to the 3.6.0 milestone May 16, 2021
@afbora afbora self-assigned this May 16, 2021
@afbora afbora linked a pull request May 16, 2021 that will close this issue
5 tasks
@afbora afbora linked a pull request May 16, 2021 that will close this issue
5 tasks
@distantnative distantnative modified the milestones: 3.6.0, 3.5.7 Jun 8, 2021
@afbora afbora linked a pull request Jun 8, 2021 that will close this issue
5 tasks
@bastianallgeier
Copy link
Member

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
4 participants