Skip to content

The Flex component should be correspond with designsystem sizes and breakpoints #2899

Open
@paal2707

Description

@paal2707

Description

Per now the Flex component is a duplicate of the MUI Grid. We need to decide which sizes, spacing and breaking points we should use and follow the "Designsystemet" to a greater extent. This will cause refactoring of the styling in components in several places in the application.

There are multiple places breakpoints have been defined, and they don't all match each other:

  • altinnAppTheme.tsx
  • useDeviceWidths.ts
  • (the new, at the time of writing this issue) CSS for the Flex component

All of these should end up using the same values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/breaking-changeIssue/pull request containing a breaking changequality/debtstatus/draftStatus: When you create an issue before you have enough info to properly describe the issue.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions