File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 238
238
239
239
.control-item-divider {
240
240
padding-bottom : subtract ($ouds-control-item-space-inset , 1px );
241
- border-bottom : 1 px solid $ouds-color-border-default ; // TODO: Introduce design token once created
241
+ border-bottom : $ouds-divider-border-width solid $ouds-color-border-default ;
242
242
}
243
243
244
244
.control-item-reverse {
Original file line number Diff line number Diff line change 48
48
} )
49
49
const allowConsentButton = document . querySelector ( '#tarteaucitronAllAllowed' )
50
50
const denyConsentButton = document . querySelector ( '#tarteaucitronAllDenied' )
51
- const checkboxes = document . querySelectorAll ( '.checkbox -indicator' )
51
+ const checkboxes = document . querySelectorAll ( '.control-item -indicator' )
52
52
53
53
allowConsentButton . addEventListener ( 'click' , ( ) => {
54
54
for ( let i = 0 ; i < checkboxes . length ; i ++ ) {
88
88
. createRange ( )
89
89
. createContextualFragment ( // TODO replace with a form-switch
90
90
`<label class="checkbox-standalone ">
91
- <input class="checkbox -indicator" type="checkbox" value="" id="googletagmanagerAllowed" aria-labelledby="googletagmanagerLine" onchange="${ choiceEvent } "${ ( ( document . cookie . match ( / ^ (?: .* ; ) ? \s * c o o k i e - c o n s e n t \s * = \s * ( [ ^ ; ] + ) (?: .* ) ? $ / ) || [ null ] ) [ 1 ] . match ( '!googletagmanager=true' ) ? 'checked' : '' ) } >
91
+ <input class="control-item -indicator" type="checkbox" value="" id="googletagmanagerAllowed" aria-labelledby="googletagmanagerLine" onchange="${ choiceEvent } "${ ( ( document . cookie . match ( / ^ (?: .* ; ) ? \s * c o o k i e - c o n s e n t \s * = \s * ( [ ^ ; ] + ) (?: .* ) ? $ / ) || [ null ] ) [ 1 ] . match ( '!googletagmanager=true' ) ? 'checked' : '' ) } >
92
92
<span class="visually-hidden">Google Tag Manager</span>
93
93
<input id="googletagmanagerDenied" class="d-none">
94
94
</label>`
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ Now you should write:
164
164
165
165
``` html
166
166
<div class =" checkbox-item" >
167
- <div class =" control-item-indicator -container" >
167
+ <div class =" control-item-assets -container" >
168
168
<input class =" control-item-indicator" type =" checkbox" value =" " id =" checkboxDefault" >
169
169
</div >
170
170
<div class =" control-item-text-container" >
You can’t perform that action at this time.
0 commit comments