Skip to content

Commit

Permalink
feat: 💄 update hud style
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNZL committed Sep 21, 2024
1 parent 87b6d5c commit 075561b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions client/src/app/calibrate/CalibrateOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,13 +361,13 @@ export function CalibrateOverlay({ socketUrl, overlaySize, circleSize, hideOverl
}}
>

{/* State display */}
{/* State */}
{(
<div
className={cn(
'absolute z-50 inset-x-1/2 -ml-48 w-96 top-0',
'bg-card/95 backdrop-blur-md supports-[backdrop-filter]:bg-secondary/60 text-secondary-foreground shadow-sm',
'ring-2 ring-ring/25 rounded-b-lg',
'bg-card/95 backdrop-blur-lg supports-[backdrop-filter]:bg-secondary/60 text-secondary-foreground shadow-sm',
'rounded-b-lg',
'px-8 py-4 text-center',
'font-bold uppercase text-sm',
'select-none cursor-pointer pointer-events-none',
Expand Down
12 changes: 6 additions & 6 deletions client/src/app/place/PlaceOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ export function PlaceOverlay({ socketUrl, overlaySize, circleSize, hideOverlay =
<div
className={cn(
'absolute z-50 inset-x-1/2 -ml-48 w-96 top-0',
'bg-card/95 backdrop-blur-md supports-[backdrop-filter]:bg-secondary/60 text-secondary-foreground shadow-sm',
'ring-2 ring-ring/25 rounded-b-lg',
'bg-card/95 backdrop-blur-lg supports-[backdrop-filter]:bg-secondary/60 text-secondary-foreground shadow-sm',
'rounded-b-lg',
'px-8 py-4 text-center',
'font-bold uppercase text-sm',
'select-none cursor-pointer pointer-events-none',
Expand All @@ -516,10 +516,10 @@ export function PlaceOverlay({ socketUrl, overlaySize, circleSize, hideOverlay =
{(currentMachineState) && (
<div
className={cn(
'absolute z-50 inset-x-1/2 -ml-48 w-96 bottom-0',
'bg-card/95 backdrop-blur-md supports-[backdrop-filter]:bg-secondary/60 text-secondary-foreground shadow-sm',
'ring-2 ring-ring/25 rounded-t-lg',
'px-8 py-3 text-center',
'absolute z-50 inset-x-1/2 -ml-40 w-80 bottom-0',
'bg-card/95 backdrop-blur-lg supports-[backdrop-filter]:bg-secondary/60 text-secondary-foreground shadow-sm',
'rounded-t-lg',
'px-6 py-2 text-center',
'font-bold uppercase text-xs',
'select-none cursor-pointer pointer-events-none',
)}
Expand Down

1 comment on commit 075561b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for p4p-83-interface ready!

✅ Preview
https://p4p-83-interface-h8xgvckts-jamesnzls-projects.vercel.app

Built with commit 075561b.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.