-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert: "feat: add setting for wider inputs"
This reverts commit 36d560b.
- Loading branch information
1 parent
14cb458
commit d457b84
Showing
3 changed files
with
5 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
<script> | ||
export let value, | ||
wider = false | ||
$: wider_class = wider ? 'w-2/5' : 'w-1/4' | ||
export let value | ||
</script> | ||
|
||
<span class="rounded mx-1 {wider_class}"> | ||
<span class="rounded mx-1 w-3/7"> | ||
<input type="number" class="w-full px-1 rounded" bind:value on:change /> | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters