Fix bar chart: w-full replaced with flex-1 for proper justify-between layout

This commit is contained in:
wangxiaoji 2026-06-30 11:52:29 +08:00
parent b143f96c15
commit 05c51f5f17
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const BarChart = ({ data = [], height = 80, barW = 24 }) => {
return ( return (
<div <div
key={i} key={i}
className='w-full flex justify-center' className='flex flex-1 justify-center'
> >
<div <div
className='rounded-sm bg-blue-500' className='rounded-sm bg-blue-500'