ui-kit icon indicating copy to clipboard operation
ui-kit copied to clipboard

TimeSeries component infinite stretching when setting a margin

Open GabrielMusatMestre opened this issue 10 months ago • 0 comments

Describe the bug

When setting a margin inside the style of a TimeSeries component, it start stretching indefinitely and a constant pace.

To reproduce

Create time-series component like this:

function Component() {
  return <TimeSeries
	card
	style={{ margin: 12 }}
    values={[1, 2, 3]}
	labels={['a', 'b', 'c']}
  />
}

Expected behavior

The margin is applied

Actual behavior

The component starts stretching forever

Screenshots or video

ui-kit-component-stretching

Desktop (please complete the following information)

  • OS: macOS
  • Browser: Chrome
  • UI Kit Version: 0.5.5

GabrielMusatMestre avatar Apr 11 '24 13:04 GabrielMusatMestre