Skip to content

Commit

Permalink
Use Resizer
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-imber committed Jan 2, 2025
1 parent e05a222 commit bbd7a54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templates/csr/fabric-expandable/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Fabric from '$templates/components/Fabric.svelte';
import ArrowDown from '$templates/components/icons/ArrowDown.svelte';
import CrossIcon from '$templates/components/icons/CrossIcon.svelte';
import SetHeightResizer from '$templates/components/SetHeightResizer.svelte';
import Resizer from '$templates/components/Resizer.svelte';
export let Trackingpixel: GAMVariable;
export let Researchpixel: GAMVariable;
Expand Down Expand Up @@ -53,7 +53,7 @@
let expanded = false;
let height: number = 250;
let height: number = -1;
</script>

<aside bind:clientHeight={height} class={expanded ? 'expanded' : ''}>
Expand Down Expand Up @@ -119,7 +119,7 @@
<ArrowDown flip={expanded} />
</button>
</aside>
<SetHeightResizer {height} />
<Resizer {height} />

<style lang="scss">
aside {
Expand Down

0 comments on commit bbd7a54

Please sign in to comment.