diff --git a/gui/src/components/BVHButton.tsx b/gui/src/components/BVHButton.tsx index caf91c0de..b2d2776db 100644 --- a/gui/src/components/BVHButton.tsx +++ b/gui/src/components/BVHButton.tsx @@ -9,7 +9,7 @@ import { useWebsocketAPI } from '../hooks/websocket-api'; import { BigButton } from './commons/BigButton'; import { RecordIcon } from './commons/icon/RecordIcon'; -export function BVHButton() { +export function BVHButton(props: React.HTMLAttributes) { const { l10n } = useLocalization(); const { useRPCPacket, sendRPCPacket } = useWebsocketAPI(); const [recording, setRecording] = useState(false); @@ -29,6 +29,7 @@ export function BVHButton() { text={l10n.getString(recording ? 'bvh-recording' : 'bvh-start_recording')} icon={} onClick={toggleBVH} + className={props.className} > ); } diff --git a/gui/src/components/MainLayout.tsx b/gui/src/components/MainLayout.tsx index b61650775..0d82bfaab 100644 --- a/gui/src/components/MainLayout.tsx +++ b/gui/src/components/MainLayout.tsx @@ -59,7 +59,9 @@ export function MainLayoutRoute({ variant="big" > )} - +