File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
packages/clerk-js/src/ui/components/devPrompts
EnableOrganizationsPrompt Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11import type { __internal_EnableOrganizationsPromptProps } from '@clerk/shared/types' ;
2+ // eslint-disable-next-line no-restricted-imports
23import { css } from '@emotion/react' ;
34
45import { Modal } from '@/ui/elements/Modal' ;
@@ -90,6 +91,7 @@ const EnableOrganizationsPromptInternal = (props: __internal_EnableOrganizations
9091 direction = 'col'
9192 sx = { t => ( {
9293 gap : t . sizes . $0x5 ,
94+ maxWidth : '18.75rem' ,
9395 } ) }
9496 >
9597 < span
@@ -99,7 +101,7 @@ const EnableOrganizationsPromptInternal = (props: __internal_EnableOrganizations
99101 color : # b4b4b4 ;
100102 font-size : 0.8125rem ;
101103 font-weight : 400 ;
102- line-height : 1 rem ;
104+ line-height : 1.23 ;
103105 ` ,
104106 ] }
105107 >
@@ -109,15 +111,14 @@ const EnableOrganizationsPromptInternal = (props: __internal_EnableOrganizations
109111 basePromptElementStyles ,
110112 css `
111113 color : white;
114+ font-family : monospace;
115+ line-height : 1.23 ;
112116 ` ,
113117 ] }
114118 >
115119 { ctaText }
116120 </ code > { ' ' }
117- { 'componentName' in props ? 'component' : 'hook' } ,
118- < br />
119- you’ll need to enable the Organizations feature
120- < br />
121+ { 'componentName' in props ? 'component' : 'hook' } , you'll need to enable the Organizations feature
121122 for your app first.
122123 </ span >
123124
@@ -128,7 +129,7 @@ const EnableOrganizationsPromptInternal = (props: __internal_EnableOrganizations
128129 color : # a8a8ff ;
129130 font-size : inherit;
130131 font-weight : 500 ;
131- line-height : 1 rem ;
132+ line-height : 1.5 ;
132133 font-size : 0.8125rem ;
133134 ` ,
134135 ] }
Original file line number Diff line number Diff line change 1+ // eslint-disable-next-line no-restricted-imports
12import { css } from '@emotion/react' ;
23
34import { Flex } from '@/ui/customizables' ;
You can’t perform that action at this time.
0 commit comments