mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-06 11:40:28 -05:00
🐛 fix: Adjust layout spacing and chart aspect ratio in ServerConfig component
This commit is contained in:
parent
0a07d2578e
commit
05a61d8bf2
@ -293,7 +293,7 @@ export default function ServerConfig() {
|
||||
{t('config.dynamicMultiplierDescription')}
|
||||
</p>
|
||||
|
||||
<div className='flex flex-col-reverse gap-8 md:flex-row md:items-start'>
|
||||
<div className='flex flex-col-reverse gap-2 md:flex-row md:items-start'>
|
||||
<div className='w-full md:w-1/2'>
|
||||
<ArrayInput<API.TimePeriod>
|
||||
fields={[
|
||||
@ -324,10 +324,7 @@ export default function ServerConfig() {
|
||||
</div>
|
||||
|
||||
<div className='w-full md:w-1/2'>
|
||||
<ChartContainer
|
||||
config={chartConfig}
|
||||
className='mx-auto aspect-[4/3] max-w-[400px]'
|
||||
>
|
||||
<ChartContainer config={chartConfig} className='mx-auto aspect-[5/3] w-full'>
|
||||
<PieChart>
|
||||
<Pie
|
||||
data={chartTimeSlots}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user