Skip to content

Commit 684432d

Browse files
alexcarpenterLauraBeatris
authored andcommitted
allow wrapping
1 parent 094a8e4 commit 684432d

File tree

1 file changed

+5
-1
lines changed
  • packages/ui/src/components/devPrompts/EnableOrganizationsPrompt

1 file changed

+5
-1
lines changed

packages/ui/src/components/devPrompts/EnableOrganizationsPrompt/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,10 @@ const EnableOrganizationsPromptInternal = ({
192192
<RadioGroupItem
193193
value='require'
194194
label={
195-
<Flex gap={2}>
195+
<Flex
196+
wrap='wrap'
197+
sx={t => ({ columnGap: t.sizes.$2, rowGap: t.sizes.$1 })}
198+
>
196199
<span>Require organization membership</span>
197200
<PromptBadge>Standard</PromptBadge>
198201
</Flex>
@@ -386,6 +389,7 @@ const PromptBadge = ({ children }: PromptBadgeProps): JSX.Element => {
386389
line-height: 1.23;
387390
background-color: #ebebeb;
388391
color: #2b2b34;
392+
white-space: nowrap;
389393
`}
390394
>
391395
{children}

0 commit comments

Comments
 (0)