Skip to content

Commit

Permalink
Add percent sign to royalty percentage input
Browse files Browse the repository at this point in the history
  • Loading branch information
greimela committed Jun 30, 2022
1 parent 87b7b67 commit 7969808
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/Minting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,12 @@ const getProgressWidth = () => {

<div>
<label for="name" class="block text-sm font-medium text-gray-700"> Royalty percentage </label>
<div class="mt-1">
<div class="relative mt-1">
<div
class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none sm:text-sm border-gray-300 text-gray-500"
>
%
</div>
<input
type="number"
step="any"
Expand All @@ -275,7 +280,7 @@ const getProgressWidth = () => {
id="royaltyPercentage"
min="0"
max="100"
class="shadow-sm focus:ring-emerald-500 focus:border-emerald-500 block w-full rounded-md sm:text-sm border-gray-300"
class="pl-10 shadow-sm focus:ring-emerald-500 focus:border-emerald-500 block w-full rounded-md sm:text-sm border-gray-300"
/>
</div>
</div>
Expand Down

0 comments on commit 7969808

Please sign in to comment.