Skip to content

[EuiFlexGroup] Responsive mode doesn't respect gutterSize #4140

Closed

Description

@efreeti

When configuring gutter size on EuiFlexGroup in responsive mode it is ignored for bottom margin.

responsive gutters

Activity

  1. changed the title [-]In EuiLayoutGroup/EuiLayoutItem in responsive mode gutter configuration is ignored for bottom margin[/-] [+][EuiFlexGroup] Responsive mode doesn't respect gutterSize[/+] on Oct 15, 2020
  2. added
    design decision
    and removed on Oct 15, 2020
  3. snide commented on Oct 15, 2020

    @snide
    Contributor

    Relabeled this one. It's trickier then it looks. The removal of gutter sizing is a design decision that forces some uniformity in the app when it goes down to mobile. It also generally requires the least amount of knowledge as a consumer (assuming they're building primarily towards their desktop views). I'll bring it up in one of our design meetings.

  4. cchaos commented on Oct 15, 2020

    @cchaos
    Contributor

    Yeah this one has been on my radar for a while. The easiest fix is to continue to respect the gutterSize at all window sizes. The complicated but better fix is to allow a complete configuration of the responsive breakpoint and the changes to reflect when it is in responsive mode.

    That's why I initially re-labelled as a bug fix for anyone to address the easy fix.

  5. added a commit that references this issue on Sep 28, 2022
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

    design decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions