UI updates for vr controllers

This commit is contained in:
HannahPadd committed 2026-07-15 11:28:01 +02:00
1 parent c3d16403d5
commit 1cc911d994
4 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -98,7 +98,8 @@ export function Button({
'rounded-full p-2 text-center min-h-[35px] min-w-[35px]': rounded,
'rounded-md px-5 py-2.5': !rounded,
},
props.className
props.className,
'vr-button'
);
}, [variant, disabled, rounded, props.className]);
+1 -1
View File
@@ -79,7 +79,7 @@ export function ResetButton({
variant="primary"
disabled={disabled}
>
<div className="flex flex-col">
<div className="flex flex-col vr-button">
<div className="opacity-0 h-0">
{children || <Localized id={name} />}
</div>
@@ -160,7 +160,7 @@ export function BodyAssignment({
highlightedRoles={highlightedRoles}
onSelectRole={onRoleSelected}
leftControls={
<div className="flex flex-col justify-between h-full text-right">
<div className="flex flex-col justify-between h-full text-right vr-button">
<div className="flex flex-col gap-2">
{hasBodyPart(BodyPart.HEAD) && (
<TrackerPartCard
+1 -1
View File
@@ -173,7 +173,7 @@ export function TrackerCard({
<div
onClick={onClick}
className={classNames(
'rounded-lg overflow-hidden transition-[box-shadow] duration-200 ease-linear',
'rounded-lg overflow-hidden transition-[box-shadow] duration-200 ease-linear vr-button',
interactable && 'hover:bg-background-50 cursor-pointer',
outlined && 'outline outline-2 outline-accent-background-40',
bg