Skip to content

[Container] Problem with CSS prioritization #591

Open
@mickey8121

Description

@mickey8121

Hi there!
Please explain to me what is the point that the larger size is always prioritized for nested containers? Although, it just won't work since it's constrained by the parent container (if a container with size={4} is nested in a container with size={3}, the former can't be bigger than the latter anyway)

At the same time, if I need to make a smaller container inside a container, I can't do it, respectively

I can assume that Radix does not allow nesting of containers, but what can I replace it with?

Screenshot 2024-09-22 at 2 30 37 PM Screenshot 2024-09-22 at 2 29 52 PM

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