| ... | @@ -448,10 +448,10 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp | ... | @@ -448,10 +448,10 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 448 | openOnHover | 448 | openOnHover |
| 449 | render={ | 449 | render={ |
| 450 | <Button | 450 | <Button |
| 451 | variant="outline" | 451 | aria-disabled="true" |
| | 452 | className="cursor-not-allowed opacity-64" |
| 452 | size="xs" | 453 | size="xs" |
| 453 | disabled={isGitActionRunning || quickAction.disabled} | 454 | variant="outline" |
| 454 | className="cursor-not-allowed disabled:cursor-not-allowed disabled:pointer-events-auto" | | |
| 455 | /> | 455 | /> |
| 456 | } | 456 | } |
| 457 | > | 457 | > |
| ... | @@ -485,7 +485,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp | ... | @@ -485,7 +485,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 485 | > | 485 | > |
| 486 | <ChevronDownIcon aria-hidden="true" className="size-4" /> | 486 | <ChevronDownIcon aria-hidden="true" className="size-4" /> |
| 487 | </MenuTrigger> | 487 | </MenuTrigger> |
| 488 | <MenuPopup align="end" sideOffset={4}> | 488 | <MenuPopup align="end" className="w-full"> |
| 489 | {gitActionMenuItems.map((item) => { | 489 | {gitActionMenuItems.map((item) => { |
| 490 | const disabledReason = getMenuActionDisabledReason( | 490 | const disabledReason = getMenuActionDisabledReason( |
| 491 | item, | 491 | item, |
| ... | @@ -497,9 +497,10 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp | ... | @@ -497,9 +497,10 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 497 | <Popover key={`${item.id}-${item.label}`}> | 497 | <Popover key={`${item.id}-${item.label}`}> |
| 498 | <PopoverTrigger | 498 | <PopoverTrigger |
| 499 | openOnHover | 499 | openOnHover |
| 500 | render={<span className="inline-flex w-full cursor-not-allowed" />} | 500 | nativeButton={false} |
| | 501 | render={<span className="block w-max cursor-not-allowed" />} |
| 501 | > | 502 | > |
| 502 | <MenuItem disabled> | 503 | <MenuItem className="w-full" disabled> |
| 503 | <GitActionItemIcon icon={item.icon} /> | 504 | <GitActionItemIcon icon={item.icon} /> |
| 504 | {item.label} | 505 | {item.label} |
| 505 | </MenuItem> | 506 | </MenuItem> |