fix: apply actions in toolbar

This commit is contained in:
Patrick Erichsen 2025-06-09 18:22:14 -07:00
parent 033ade024e
commit cd810eb939
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ export function ApplyActions(props: ApplyActionsProps) {
case "done":
return (
<div className="flex select-none items-center rounded bg-zinc-700 px-1.5 sm:gap-1">
<span className="max-xs:hidden text-lightgray text-center text-xs">
<span className="text-lightgray text-center text-xs max-md:hidden">
{`${props.applyState?.numDiffs === 1 ? "1 diff" : `${props.applyState?.numDiffs} diffs`}`}
</span>
@ -42,7 +42,7 @@ export function ApplyActions(props: ApplyActionsProps) {
onClick={onClickReject}
tooltipContent={`Reject all (${getMetaKeyLabel()}⇧⌫)`}
>
<XMarkIcon className="h-3.5 w-3.5 text-red-600 hover:brightness-125" />
<XMarkIcon className="text-error h-3.5 w-3.5 hover:brightness-125" />
</ToolbarButtonWithTooltip>
<ToolbarButtonWithTooltip
@ -50,7 +50,7 @@ export function ApplyActions(props: ApplyActionsProps) {
onClick={props.onClickAccept}
tooltipContent={`Accept all (${getMetaKeyLabel()}⇧⏎)`}
>
<CheckIcon className="h-3.5 w-3.5 text-green-600 hover:brightness-125" />
<CheckIcon className="text-success h-3.5 w-3.5 hover:brightness-125" />
</ToolbarButtonWithTooltip>
</div>
</div>

View file

@ -291,7 +291,7 @@ export function StepContainerPreToolbar({
return (
<TopDiv>
<ToolbarDiv isExpanded={isExpanded} className="find-widget-skip gap-3">
<div className="flex max-w-72 flex-row items-center">
<div className="max-w-[50% flex flex-row items-center">
<ChevronDownIcon
onClick={() => setIsExpanded(!isExpanded)}
className={`text-lightgray h-3.5 w-3.5 flex-shrink-0 cursor-pointer hover:brightness-125 ${