Skip to content

Commit a4041a6

Browse files
committed
Merge remote-tracking branch 'upstream/master' into commacare4a
2 parents a9eb0ab + 521ef71 commit a4041a6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/lib/components/Accordion.svelte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
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';
@@ -44,7 +50,7 @@
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>

src/routes/support/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
}
8484
8585
& li {
86-
font-size: 1rem;
86+
font-size: 1.25rem;
8787
}
8888
8989
& .support-card {

0 commit comments

Comments
 (0)