Skip to content

Commit 4419510

Browse files
committed
revert button restyling
1 parent e6798d4 commit 4419510

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/components/PlotModal/Function.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
</div>
8080
{/each}
8181
<div class="fplt-fns-add">
82-
<Button style="width: 100%;" on:click={handlePointsChange}>
83-
<IconWrapper style="padding: 0.1em; width: 100%;">
82+
<Button on:click={handlePointsChange}>
83+
<IconWrapper style="margin-right: 0.5em">
8484
<Plus />
8585
</IconWrapper>
8686
Add Point
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<script lang="ts">
22
export let cta = false,
33
disabled = false;
4-
export let style = "";
54
</script>
65

7-
<button {style} on:click class:mod-cta={cta} {disabled}>
6+
<button on:click class:mod-cta={cta} {disabled}>
87
<slot />
98
</button>

0 commit comments

Comments
 (0)