Skip to content

Commit ad12700

Browse files
authored
feat(dashboard): narrower energy flow, wider Production vs Consumption card on xl (#87) (#89)
Co-authored-by: gnacho <hnacho@proton.me>
1 parent d2b08fe commit ad12700

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎app/src/pages/Dashboard.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function Dashboard() {
115115
whileInView={{ opacity: 1, y: 0 }}
116116
viewport={{ once: true, amount: 0.2 }}
117117
transition={{ duration: 0.5, ease: [0.25, 1, 0.5, 1] }}
118-
className="helios-card col-span-12 order-2 p-5 shadow-card dark:shadow-card-dark lg:order-4 lg:col-span-4"
118+
className="helios-card col-span-12 order-2 p-5 shadow-card dark:shadow-card-dark lg:order-4 lg:col-span-4 xl:col-span-3"
119119
>
120120
<div className="mb-2 flex items-center justify-between">
121121
<h2 className="text-[15px] font-semibold text-app">{t('dashboard.flowTitle')}</h2>
@@ -134,7 +134,7 @@ export default function Dashboard() {
134134
initial={{ opacity: 0, y: 24 }}
135135
animate={{ opacity: 1, y: 0 }}
136136
transition={{ duration: 0.5, delay: 0.25, ease: [0.25, 1, 0.5, 1] }}
137-
className="col-span-12 order-3 lg:order-2 lg:col-span-8"
137+
className="col-span-12 order-3 lg:order-2 lg:col-span-8 xl:col-span-9"
138138
style={{ boxShadow: `0 8px 32px -8px ${palette.solar}2E`, borderRadius: 16 }}
139139
>
140140
<DayChart data={series} nowMin={nowMin} replayMin={replayMin} onReplayChange={setReplayMin} fill inverters={dayCharts} />

0 commit comments

Comments
 (0)