authorgravatar for 91240327+shivamhwp@users.noreply.github.comshivam <91240327+shivamhwp@users.noreply.github.com> 2026-09-15 18:37:46+05:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-15 13:07:46+00:00
logbf3be75c400cf605dc0c80de9458458854c84131
treebf81c1766bc5776b5246e635a3f2c2ece24d2c7a
parent3c4c9a125bf6e3dd7207fff23b4bf3d449e4df36
signature Signed by PGP key B5690EEEBB952194

fix(web): center refresh devices in the empty state (#11808)


1 files changed, 1 insertions(+), 1 deletions(-)

apps/web/src/components/device/DevicePanel.tsx+1-1
...@@ -389,7 +389,7 @@ export function DevicePanel(props: {...@@ -389,7 +389,7 @@ export function DevicePanel(props: {
389 ) : null}389 ) : null}
390 {loaded && !hostBusy ? (390 {loaded && !hostBusy ? (
391 <Button391 <Button
392 className="self-start"392 className={grouped.length > 0 ? "self-start" : "self-center"}
393 variant={grouped.length > 0 ? "ghost" : "outline"}393 variant={grouped.length > 0 ? "ghost" : "outline"}
394 size="sm"394 size="sm"
395 onClick={() => void list({ environmentId, input: {} })}395 onClick={() => void list({ environmentId, input: {} })}