joe-bell/raam

Flex `gap` doesn't fallback safely when undefined

joe-bell opened this issue · 0 comments

Describe the bug
Gap outputs a calc value containing undefined rather than returning nothing.

To Reproduce
Use Flex without a gap and flexWrap set to wrap - the value of the items is calc(undefined / 2)

Expected behavior

  • It should not set the margin value.
  • defaultScale is required

Tests should be updated to reflect this change