Skip to content

Commit

Permalink
Fix objectives being too wide in portrait mode on small devices.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 0721b1b0e21ebbc49201f40a49b44f006cb03544
  • Loading branch information
cpojer committed Mar 7, 2025
1 parent c8c7bc7 commit 68dfb35
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions hera/editor/lib/ObjectiveCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,17 @@ export default function ObjectiveCard({
<Stack flex1>
<fbt desc="Label selector for objective">Labels</fbt>
</Stack>
<ManyLabelSelector
active={objective.label}
onChange={(label) =>
onChange({
...objective,
label,
})
}
/>
<Stack start>
<ManyLabelSelector
active={objective.label}
onChange={(label) =>
onChange({
...objective,
label,
})
}
/>
</Stack>
</Stack>
)}
{objectiveHasAmounts(objective) && (
Expand Down

0 comments on commit 68dfb35

Please sign in to comment.