mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-21 14:04:03 +01:00
fix: graph margin (#310)
This commit is contained in:
parent
5bd02a734d
commit
d3d49a18b8
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ const Chart = ({
|
|||
|
||||
return (
|
||||
<div style={{ position: 'relative' }}>
|
||||
<svg width={width} height={height}>
|
||||
<svg width={width} height={height - 10}>
|
||||
<Group top={margin.top} left={margin.left}>
|
||||
<BarGroup
|
||||
data={data}
|
||||
|
|
|
@ -98,7 +98,7 @@ const Chart = ({
|
|||
|
||||
return (
|
||||
<div style={{ position: 'relative' }}>
|
||||
<svg width={width} height={height}>
|
||||
<svg width={width} height={height - 10}>
|
||||
<Group top={margin.top} left={margin.left}>
|
||||
<BarGroupHorizontal
|
||||
data={data}
|
||||
|
|
Loading…
Add table
Reference in a new issue