diff --git a/frontend/src/features/hero/components/FocusDialog.tsx b/frontend/src/features/hero/components/FocusDialog.tsx
index fdca308..2c47ab8 100644
--- a/frontend/src/features/hero/components/FocusDialog.tsx
+++ b/frontend/src/features/hero/components/FocusDialog.tsx
@@ -2,6 +2,8 @@ import { useRef, useState, type KeyboardEvent, type PointerEvent } from 'react';
import { useTranslation } from 'react-i18next';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
+import { CheckboxField } from '@/components/ui/checkbox';
+import { RadioField } from '@/components/ui/radio';
import { Label } from '@/components/ui/label';
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog';
import { mediaUrl } from '../lib/media';
@@ -101,29 +103,24 @@ function FocusEditor({ image, onApply, onClose }: { image: HeroImageDto; onApply
{target !== 'general' && (
-
+ toggleOverride(event.target.checked)}
+ data-testid={`focus-override-${target}`}
+ label={t('hero.focus.override')}
+ />
)}
@@ -205,7 +202,7 @@ function FocusEditor({ image, onApply, onClose }: { image: HeroImageDto; onApply
disabled={!editable}
value={active.zoom}
onChange={(event) => update({ ...active, zoom: Number(event.target.value) })}
- className="w-full"
+ className="w-full accent-primary disabled:cursor-not-allowed disabled:opacity-50"
data-testid="focus-zoom"
/>
diff --git a/frontend/src/features/hero/pages/HeroPage.tsx b/frontend/src/features/hero/pages/HeroPage.tsx
index 4a0d2a1..5ff0716 100644
--- a/frontend/src/features/hero/pages/HeroPage.tsx
+++ b/frontend/src/features/hero/pages/HeroPage.tsx
@@ -10,6 +10,8 @@ import { SortableContext, sortableKeyboardCoordinates, verticalListSortingStrate
import { Badge } from '@/components/ui/badge';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
+import { CheckboxField } from '@/components/ui/checkbox';
+import { RadioField } from '@/components/ui/radio';
import { Label } from '@/components/ui/label';
import { FieldError } from '@/components/ui/FieldError';
import { FormErrorBanner } from '@/components/ui/FormErrorBanner';
@@ -445,10 +447,7 @@ function HeroEditor({ hero }: { hero: HeroAdminDto }) {
{(['single', 'slideshow'] as const).map((value) => (
-
+
))}
@@ -561,10 +560,7 @@ function HeroEditor({ hero }: { hero: HeroAdminDto }) {
{t('hero.slides.altHint')}
-
+