fix(app): keep new workspace ref selector bounded

Long starting refs could paint past capped badges because the shared combobox trigger row kept its intrinsic width. Make the trigger row shrink-safe and clip the New Workspace badge contents.
This commit is contained in:
Mohamed Boudra
2026-06-26 20:28:55 +07:00
parent 07680cdd69
commit d6b946720e
2 changed files with 6 additions and 0 deletions
@@ -61,11 +61,15 @@ export const ComboboxTrigger = forwardRef<View, ComboboxTriggerProps>(function C
const styles = StyleSheet.create((theme) => ({
row: {
minWidth: 0,
maxWidth: "100%",
flexShrink: 1,
flexDirection: "row",
alignItems: "center",
gap: theme.spacing[1],
},
chevronContainer: {
flexShrink: 0,
transform: [{ translateY: 1 }],
},
}));