feat: enhance CategoryAutocomplete and AddFeatureDialog components

- Added responsive width handling to the CategoryAutocomplete component, ensuring the popover adjusts based on the trigger button's width.
- Updated the AddFeatureDialog button width from 180px to 200px for improved layout consistency.
This commit is contained in:
Kacper
2025-12-16 14:49:23 +01:00
parent 2ee4ec65b4
commit f86bb3eab8
2 changed files with 29 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ export function AddFeatureDialog({
<div className="flex w-fit items-center gap-3 select-none cursor-default">
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button variant="outline" size="sm" className="w-[180px] justify-between">
<Button variant="outline" size="sm" className="w-[200px] justify-between">
{enhancementMode === 'improve' && 'Improve Clarity'}
{enhancementMode === 'technical' && 'Add Technical Details'}
{enhancementMode === 'simplify' && 'Simplify'}