Skip to content

Commit bf3be75

Browse files
authored
fix(web): center refresh devices in the empty state (#11808)
1 parent 3c4c9a1 commit bf3be75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/device/DevicePanel.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export function DevicePanel(props: {
389389
) : null}
390390
{loaded && !hostBusy ? (
391391
<Button
392-
className="self-start"
392+
className={grouped.length > 0 ? "self-start" : "self-center"}
393393
variant={grouped.length > 0 ? "ghost" : "outline"}
394394
size="sm"
395395
onClick={() => void list({ environmentId, input: {} })}

0 commit comments

Comments
 (0)