Skip to content

Nova 4: full width property of default field is not working #4358

Description

@m-lotze
  • Nova Version: 4.7.0

Description:

A custom field with <DefaultField :field="field" :errors="errors" :full-width-content="true"> in nova 4 does not use the full available space like it did in nova 3. The width of the field slot is fixed to 3/5, but it should be 4/5 for full width:

DefaultField.vue

<div
      class="mt-1 md:mt-0 pb-5 px-8 w-full"
      :class="field.stacked ? 'md:pt-5' : fullWidthContent ? 'md:w-4/5 md:py-5' : 'md:w-3/5 md:py-5'"
    >
      <slot name="field" />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions