Skip to content

Commit

Permalink
feat: removed reserved space for empty titles in vega_card, version_3 #…
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasOz committed Oct 2, 2023
1 parent 5146645 commit 5311da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/vega.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const
const { specification, data, title, grammar = 'vega-lite' } = state
return (
<div data-test={name} className={css.card}>
{title && <div className='wave-s12 wave-w6'>{title}</div>}
{title && <div className='wave-s12 wave-w6' style={{marginBottom: 16}}>{title}</div>}
<div className={css.body}>
<XVegaVisualization model={{ specification, data, grammar }} />
</div>
Expand Down

0 comments on commit 5311da0

Please sign in to comment.