Skip to content

Commit

Permalink
refactor(MoneyInput): swap opacity0 with d-none
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbitronics committed Apr 7, 2022
1 parent e037394 commit b259697
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion stories/MoneyInput.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,18 @@ function setValues(max, step) {
}
</script>

<style>
.d-none {
display: none;
}
</style>

<Meta title="Atoms/MoneyInput" component={MoneyInput} />

<Template let:args>
{#if !args.label}
<div class="opacity0">
<div class="d-none">
{setValues(args.maxValue, args.step)}
</div>
{/if}
Expand Down

0 comments on commit b259697

Please sign in to comment.