mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 08:33:36 +00:00
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:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user