mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
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:
@@ -61,7 +61,7 @@ export function BoardHeader({
|
|||||||
{/* Concurrency Slider - only show after mount to prevent hydration issues */}
|
{/* Concurrency Slider - only show after mount to prevent hydration issues */}
|
||||||
{isMounted && (
|
{isMounted && (
|
||||||
<div
|
<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"
|
data-testid="concurrency-slider-container"
|
||||||
>
|
>
|
||||||
<Bot className="w-4 h-4 text-muted-foreground" />
|
<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 */}
|
{/* Auto Mode Toggle - only show after mount to prevent hydration issues */}
|
||||||
{isMounted && (
|
{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">
|
<Label htmlFor="auto-mode-toggle" className="text-sm font-medium cursor-pointer">
|
||||||
Auto Mode
|
Auto Mode
|
||||||
</Label>
|
</Label>
|
||||||
|
|||||||
Reference in New Issue
Block a user