We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6798d4 commit 4419510Copy full SHA for 4419510
2 files changed
src/components/PlotModal/Function.svelte
@@ -79,8 +79,8 @@
79
</div>
80
{/each}
81
<div class="fplt-fns-add">
82
- <Button style="width: 100%;" on:click={handlePointsChange}>
83
- <IconWrapper style="padding: 0.1em; width: 100%;">
+ <Button on:click={handlePointsChange}>
+ <IconWrapper style="margin-right: 0.5em">
84
<Plus />
85
</IconWrapper>
86
Add Point
src/components/Primitives/Button.svelte
@@ -1,9 +1,8 @@
1
<script lang="ts">
2
export let cta = false,
3
disabled = false;
4
- export let style = "";
5
</script>
6
7
-<button {style} on:click class:mod-cta={cta} {disabled}>
+<button on:click class:mod-cta={cta} {disabled}>
8
<slot />
9
</button>
0 commit comments