@@ -10,6 +10,7 @@ import ProviderConfigure from '@/components/auth0/my-organization/shared/idp-man
1010import { ProviderDetails } from '@/components/auth0/my-organization/shared/idp-management/sso-provider-create/provider-details' ;
1111import { ProviderSelect } from '@/components/auth0/my-organization/shared/idp-management/sso-provider-create/provider-select' ;
1212import { Header } from '@/components/auth0/shared/header' ;
13+ import { StyledScope } from '@/components/auth0/shared/styled-scope' ;
1314import { Wizard } from '@/components/auth0/shared/wizard' ;
1415import type { StepProps } from '@/components/auth0/shared/wizard' ;
1516import { withMyOrganizationService } from '@/hoc/with-services' ;
@@ -216,32 +217,34 @@ function SsoProviderCreateView({ logic, handlers }: SsoProviderCreateViewProps)
216217 ) ;
217218
218219 return (
219- < div style = { currentStyles . variables } className = "w-full" >
220- < Header
221- title = { t ( 'header.title' ) }
222- backButton = {
223- backButton && {
224- ...backButton ,
225- text : t ( 'header.back_button_text' ) ,
220+ < StyledScope style = { currentStyles . variables } >
221+ < div className = "w-full" >
222+ < Header
223+ title = { t ( 'header.title' ) }
224+ backButton = {
225+ backButton && {
226+ ...backButton ,
227+ text : t ( 'header.back_button_text' ) ,
228+ }
226229 }
227- }
228- className = { currentStyles ?. classes ?. [ 'SsoProviderCreate-header' ] }
229- />
230- < div className = "sso-provider-create__content" data-testid = "sso-provider-create-content" >
231- < Wizard
232- isLoading = { isCreating }
233- hideStepperNumbers
234- steps = { wizardSteps }
235- onComplete = { handleCreate }
236- formActionLabels = { {
237- nextButtonLabel : t ( 'nextButtonLabel' ) ,
238- previousButtonLabel : t ( 'previousButtonLabel' ) ,
239- completeButtonLabel : t ( 'completeButtonLabel' ) ,
240- } }
241- className = { currentStyles ?. classes ?. [ 'SsoProviderCreate-wizard' ] }
230+ className = { currentStyles ?. classes ?. [ 'SsoProviderCreate-header' ] }
242231 />
232+ < div className = "sso-provider-create__content" data-testid = "sso-provider-create-content" >
233+ < Wizard
234+ isLoading = { isCreating }
235+ hideStepperNumbers
236+ steps = { wizardSteps }
237+ onComplete = { handleCreate }
238+ formActionLabels = { {
239+ nextButtonLabel : t ( 'nextButtonLabel' ) ,
240+ previousButtonLabel : t ( 'previousButtonLabel' ) ,
241+ completeButtonLabel : t ( 'completeButtonLabel' ) ,
242+ } }
243+ className = { currentStyles ?. classes ?. [ 'SsoProviderCreate-wizard' ] }
244+ />
245+ </ div >
243246 </ div >
244- </ div >
247+ </ StyledScope >
245248 ) ;
246249}
247250
0 commit comments