Fixes to input fields

Padding and border defaults not implicitly defaulted
This commit is contained in:
Jose Olarte III
2022-11-28 17:42:25 +08:00
parent d25f8f45bd
commit f45a528f43
6 changed files with 13 additions and 11 deletions

View File

@@ -56,17 +56,17 @@
<input
type="text"
placeholder="Name (optional)"
class="block w-full rounded border-slate-400 mb-2"
class="block w-full rounded border border-slate-400 mb-2 px-3 py-2"
/>
<input
type="text"
placeholder="ID"
class="block w-full rounded border-slate-400 mb-2"
class="block w-full rounded border border-slate-400 mb-2 px-3 py-2"
/>
<input
type="text"
placeholder="Public Key (optional)"
class="block w-full rounded border-slate-400 mb-4"
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
/>
<div class="mt-8">

View File

@@ -46,7 +46,7 @@
<input
type="text"
placeholder="Search…"
class="block w-full rounded-l border-r-0 border-slate-400"
class="block w-full rounded-l border border-r-0 border-slate-400 px-3 py-2"
/>
<button
class="px-4 rounded-r bg-slate-200 border border-l-0 border-slate-400"

View File

@@ -20,7 +20,7 @@
<input
type="text"
placeholder="Seed Phrase"
class="block w-full rounded border-slate-400 mb-4"
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
/>
<div class="mt-8">
<input

View File

@@ -16,12 +16,12 @@
<input
type="text"
placeholder="First Name"
class="block w-full rounded border-slate-400 mb-4"
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
/>
<input
type="text"
placeholder="Last Name"
class="block w-full rounded border-slate-400 mb-4"
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
/>
<div class="mt-8">

View File

@@ -17,7 +17,9 @@
<!-- Project Details -->
<form>
<select class="block w-full rounded border-slate-400 mb-4">
<select
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
>
<option disabled>Choose a commitment type</option>
<option selected>Time</option>
<option>Cryptocurrency</option>
@@ -29,7 +31,7 @@
<input
type="number"
placeholder="0.0"
class="block w-full rounded-l border-slate-400"
class="block w-full rounded-l border border-slate-400 px-3 py-2"
/>
<span
class="px-4 py-2 rounded-r bg-slate-200 border border-l-0 border-slate-400"

View File

@@ -39,12 +39,12 @@
<input
type="text"
placeholder="Project Name"
class="block w-full rounded border-slate-400 mb-4"
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
/>
<textarea
placeholder="Description"
class="block w-full rounded border-slate-400 mb-4"
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
rows="5"
></textarea>
<div class="text-xs text-slate-500 italic -mt-3 mb-4">