File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2929 }
3030 }
3131
32+ // Sync with exported prop
33+ $: if (inputEl && contentEl && inputEl .checked !== checked) {
34+ inputEl .checked = checked;
35+ toggleContent ();
36+ }
37+
3238 function onTransitionEnd () {
3339 if (! inputEl .checked ) {
3440 contentEl .style .display = ' none' ;
4450 --background-color: {backgroundColor ?? (style === 'light' ? 'white' : 'black')};
4551 "
4652>
47- <input {type } name ={id } {id } {checked } on:click ={toggleContent } bind:this ={inputEl } />
53+ <input {type } name ={id } {id } {checked } on:click ={toggleContent } on:click bind:this ={inputEl } />
4854 <label for ={id }>
4955 <slot name =" label" ></slot >
5056 <span class ="chevron" >{@html IconChevron }</span >
Original file line number Diff line number Diff line change 8383 }
8484
8585 & li {
86- font-size : 1 rem ;
86+ font-size : 1.25 rem ;
8787 }
8888
8989 & .support-card {
You can’t perform that action at this time.
0 commit comments