Merge pull request #960 from datopian/bugfix/linechart-width

[@portaljs/components,line chart][xs]: fix linechart width
This commit is contained in:
João Demenech 2023-06-20 17:29:13 -03:00 committed by GitHub
commit 8d83f3a900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@portaljs/components': patch
---
Fix width of the <LineChart /> component

View File

@ -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',