- general fixes across the app
- minor fixes - code clean up and improvements
This commit is contained in:
@@ -39,7 +39,6 @@ const CameraPanel = ({ tabIndex }: CameraPanelProps) => {
|
||||
<Tab>Target Detection</Tab>
|
||||
<Tab>Camera Controls</Tab>
|
||||
</TabList>
|
||||
|
||||
<TabPanel>
|
||||
<RegionSelector
|
||||
regions={regions}
|
||||
|
||||
@@ -10,7 +10,7 @@ type CameraSettingsProps = {
|
||||
|
||||
const CameraSettings = ({ tabIndex, setTabIndex }: CameraSettingsProps) => {
|
||||
return (
|
||||
<Card className="p-4 w-full h-full max-h-screen ">
|
||||
<Card className="p-4 w-full h-full max-h-screen">
|
||||
<Tabs
|
||||
selectedTabClassName="bg-gray-300 text-gray-900 font-semibold border-none rounded-sm mb-1"
|
||||
className="react-tabs"
|
||||
|
||||
@@ -107,7 +107,7 @@ const RegionSelector = ({ regions, selectedRegionIndex, mode, cameraFeedID }: Re
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-4 max-h-[50%]">
|
||||
<div className="flex flex-row gap-3">
|
||||
<div className="flex flex-col md:flex-row gap-3">
|
||||
<div className="p-2 border border-gray-600 rounded-lg flex flex-col h-50 w-full">
|
||||
<h2 className="text-2xl mb-2">Tools</h2>
|
||||
<div className="flex flex-col">
|
||||
|
||||
Reference in New Issue
Block a user