Skip to content

Commit 0a66e78

Browse files
committed
bugfix: selector overflow
1 parent d7aeb3f commit 0a66e78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Filters/CameraSelector.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ export const CameraSelector: React.FC<CameraSelectorProps> = ({
3030
htmlFor="camera-selector"
3131
className="text-xs sm:text-sm font-medium text-gray-700 whitespace-nowrap"
3232
>
33-
Перейти к камере:
33+
Перейти к парковке:
3434
</label>
3535
<select
3636
id="camera-selector"
3737
value={selectedCameraId ?? ""}
3838
onChange={handleChange}
39-
className="px-2 py-1.5 text-xs sm:text-sm border border-gray-300 rounded-lg bg-white text-gray-900 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 flex-1"
39+
className="px-2 py-1.5 min-w-0 text-xs sm:text-sm border border-gray-300 rounded-lg bg-white text-gray-900 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 flex-1"
4040
>
41-
<option value="">Выберите камеру</option>
41+
<option value="">Выберите парковку</option>
4242
{cameras.map((camera) => (
4343
<option key={camera.camera_id} value={camera.camera_id}>
4444
{camera.title}

0 commit comments

Comments
 (0)