Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeSeries component infinite stretching when setting a margin #213

Open
GabrielMusatMestre opened this issue Apr 11, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@GabrielMusatMestre
Copy link

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 GabrielMusatMestre added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant