Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Toggle field in structure field #2291

Closed
Werbschaft opened this issue Nov 7, 2019 · 1 comment
Closed

Toggle field in structure field #2291

Werbschaft opened this issue Nov 7, 2019 · 1 comment
Assignees
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Milestone

Comments

@Werbschaft
Copy link

When using a Toggle field in a structure and align it to the right the preview is broken and looks a bit strange. It would be nice if aligned to the right that the toggle is right and the text left of it.

Preview

Bildschirmfoto 2019-11-07 um 10 46 04

Testcase

diplom:
  label: Diplom
  type: structure
  min: 1
  columns:
    frage:
      width: 4/6
    aktiv:
      width: 2/6
      align: right
  fields:
    frage:
      type: text
      label: "Frage"
      width: 2/3
    aktiv:
      type: toggle
      label: "Frage aktiv"
      default: true
      text:
        - Nein
        - Ja
@afbora afbora added the type: enhancement ✨ Suggests an enhancement; improves Kirby label Nov 7, 2019
@afbora afbora self-assigned this Nov 7, 2019
@afbora afbora added this to the 3.3.1 milestone Nov 7, 2019
@bastianallgeier
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Projects
None yet
Development

No branches or pull requests

3 participants