Skip to content

Nested expanded rows do not remove outer column padding with negative margin #9062

@Joe-Withey

Description

@Joe-Withey

I believe this was introduced in issue #7801.

When nesting expanded rows, the margin for each nested row is set to auto. Conversely if the rows do not have the expanded class then negative margin is set and the rows work correctly.

This leads to compound padding for each nested layer which is difficult to manage; should a user desire this behaviour it would be better to opt into it.

I've created a codepen to illustrate the issue.

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