Skip to content

Commit

Permalink
Merge pull request #960 from datopian/bugfix/linechart-width
Browse files Browse the repository at this point in the history
[@portaljs/components,line chart][xs]: fix linechart width
  • Loading branch information
demenech authored Jun 20, 2023
2 parents dfab6aa + add2f6d commit 8d83f3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/brown-chairs-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@portaljs/components': patch
---

Fix width of the <LineChart /> component
2 changes: 1 addition & 1 deletion packages/components/src/components/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function LineChart({
const spec = {
$schema: 'https://vega.github.io/schema/vega-lite/v5.json',
title,
width: 600,
width: 'container',
height: 300,
mark: {
type: 'line',
Expand Down

1 comment on commit 8d83f3a

@vercel
Copy link

@vercel vercel bot commented on 8d83f3a Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

portaljs-storybook – ./packages/components

portaljs-storybook.vercel.app
portaljs-storybook-git-main-datopian1.vercel.app
storybook.portaljs.org
portaljs-storybook-datopian1.vercel.app

Please sign in to comment.