File tree Expand file tree Collapse file tree 5 files changed +15
-8
lines changed
consentManagement/ConsentBannerAndConsentManagement Expand file tree Collapse file tree 5 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export function Display() {
42
42
43
43
return (
44
44
< modal . Component title = { t ( "display settings" ) } size = "small" >
45
- < div /*id="fr-display"*/ className = "fr-display" >
45
+ < div /*id="fr-display"*/ className = { "fr-display" } >
46
46
< div className = { fr . cx ( "fr-form-group" as any ) } >
47
47
< fieldset className = { fr . cx ( "fr-fieldset" ) } >
48
48
< legend
@@ -63,7 +63,10 @@ export function Display() {
63
63
id = { getInputId ( theme ) }
64
64
name = "fr-radios-theme"
65
65
/>
66
- < label className = "fr-label" htmlFor = { getInputId ( theme ) } >
66
+ < label
67
+ className = { fr . cx ( "fr-label" ) }
68
+ htmlFor = { getInputId ( theme ) }
69
+ >
67
70
{ t ( `${ theme } theme` ) }
68
71
{ theme === "system" && (
69
72
< span className = { fr . cx ( "fr-hint-text" ) } >
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export const Download = memo(
54
54
className = { cx ( fr . cx ( "fr-download__link" ) , classes . link ) }
55
55
>
56
56
{ label }
57
- < span className = "fr-download__detail" > { details } </ span >
57
+ < span className = { fr . cx ( "fr-download__detail" ) } > { details } </ span >
58
58
</ Link >
59
59
</ p >
60
60
</ div >
Original file line number Diff line number Diff line change @@ -152,7 +152,9 @@ export const Input = memo(
152
152
{ ...( nativeLabelProps as { } ) }
153
153
>
154
154
{ label }
155
- { hintText !== undefined && < span className = "fr-hint-text" > { hintText } </ span > }
155
+ { hintText !== undefined && (
156
+ < span className = { fr . cx ( "fr-hint-text" ) } > { hintText } </ span >
157
+ ) }
156
158
</ label >
157
159
) }
158
160
{ ( ( ) => {
Original file line number Diff line number Diff line change @@ -142,7 +142,9 @@ export const PasswordInput = memo(
142
142
htmlFor = { inputId }
143
143
>
144
144
{ label }
145
- { hintText !== undefined && < span className = "fr-hint-text" > { hintText } </ span > }
145
+ { hintText !== undefined && (
146
+ < span className = { fr . cx ( "fr-hint-text" ) } > { hintText } </ span >
147
+ ) }
146
148
</ label >
147
149
) }
148
150
< div className = { fr . cx ( "fr-input-wrap" ) } ref = { setInputWrapperElement } >
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ export function createConsentManagement<
320
320
} ;
321
321
} ) ( ) }
322
322
/>
323
- < label className = "fr-label" htmlFor = { acceptInputId } >
323
+ < label className = { fr . cx ( "fr-label" ) } htmlFor = { acceptInputId } >
324
324
{ t ( "accept" ) }
325
325
</ label >
326
326
</ div >
@@ -421,8 +421,8 @@ export function createConsentManagement<
421
421
< div className = { fr . cx ( "fr-consent-service" ) } >
422
422
< fieldset className = { fr . cx ( "fr-fieldset" , "fr-fieldset--inline" ) } >
423
423
< legend className = { fr . cx ( "fr-consent-service__title" ) } > { title } </ legend >
424
- < div className = "fr-consent-service__radios fr-fieldset--inline" >
425
- < div className = "fr-radio-group" >
424
+ < div className = { fr . cx ( "fr-consent-service__radios" , " fr-fieldset--inline") } >
425
+ < div className = { fr . cx ( "fr-radio-group" ) } >
426
426
< input
427
427
type = "radio"
428
428
id = { acceptInputId }
You can’t perform that action at this time.
0 commit comments