style: update BoardHeader component for improved layout

- Adjusted the spacing and height of the concurrency slider and auto mode toggle containers for better visual consistency.
- Changed class names to enhance the overall design and maintainability of the UI.
This commit is contained in:
Kacper
2026-01-05 15:22:04 +01:00
parent d4649ec456
commit 9661aa1dad

View File

@@ -61,7 +61,7 @@ export function BoardHeader({
{/* Concurrency Slider - only show after mount to prevent hydration issues */}
{isMounted && (
<div
className="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-secondary border border-border"
className="flex items-center gap-1.5 px-3 h-8 rounded-md bg-secondary border border-border"
data-testid="concurrency-slider-container"
>
<Bot className="w-4 h-4 text-muted-foreground" />
@@ -86,7 +86,7 @@ export function BoardHeader({
{/* Auto Mode Toggle - only show after mount to prevent hydration issues */}
{isMounted && (
<div className="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-secondary border border-border">
<div className="flex items-center gap-1.5 px-3 h-8 rounded-md bg-secondary border border-border">
<Label htmlFor="auto-mode-toggle" className="text-sm font-medium cursor-pointer">
Auto Mode
</Label>