You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiFlexGroup] gutterSize="m" should be 16px, not 12px #7244
Describe the bug
It looks like when we switched from using margins to the gap style property in the EuiFlexGroup component, we inadvertently changed the gutterSize="m" prop from being $euiSize (16px, link) to euiTheme.size.m (12px, link). The correct value should be euiTheme.size.base (16px).
Impact and severity
This affects all uses of the EuiFlexGroup component when gutterSize="m" is in use.
To Reproduce
View the EUI flex group gutter sizing documentation and see the space between flex items in the medium gutter size example.
Expected behavior
A medium gutter should result in a 16px space. To do so, we need to change the component's gap style to use euiTheme.size.base instead of euiTheme.size.m.
Activity
cee-chen commentedon Oct 4, 2023
🤦 You're totally right (https://eui.elastic.co/v60.0.0/#/layout/flex#gutter-sizing for pre-Emotion comparison).