Skip to content

Consider removing min-height from dataforms-layouts-regular__field #77022

Closed

Description

@ntsekouras

While working on this PR I observed that there might be cases where a field could be needed to be readonly with no labels (see last_edited_date) in the linked PR, which also has a smaller height than the min-height set for any field when using the regular DataForm layout.

In the above PR I changed the layout to panel and there is not min-height set.

Is there a reason for having a min-height for regular layout fields? Can we remove it?

--cc @oandregal @jameskoster

Activity

  1. added
    [Type] Bug
    [Feature] DataViews
    on Apr 3, 2026
  2. jameskoster commented on Apr 8, 2026

    @jameskoster
    Contributor

    Iirc the min-height is to ensure equal spacing when read only fields appear adjacent to editable ones when the label is on the side:

    Image

    Without it the spacing gets a bit wonky:

    Image
  3. ntsekouras commented on Aug 28, 2026

    @ntsekouras
    ContributorAuthor

    I have opened #82052 to address that, but also preserving the side labels case. I'm closing this one now, since it will be either fixed by the PR or the PR will be closed and this issue will be deemed as not needed.

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

    [Feature] DataViews[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions