mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
style: improve form layout and spacing
This commit is contained in:
@@ -17,6 +17,7 @@ templ InputName() {
|
||||
<sl-input name="first_name" placeholder="Satoshi" type="text" label="First Name" required autofocus></sl-input>
|
||||
<sl-input name="last_name" placeholder="N" maxlength="1" type="text" label="Last Initial"></sl-input>
|
||||
</div>
|
||||
<br/>
|
||||
}
|
||||
|
||||
templ InputNameError() {
|
||||
@@ -24,6 +25,7 @@ templ InputNameError() {
|
||||
<sl-input name="first_name" placeholder="Satoshi" type="text" label="First Name" required autofocus class="border-red-500"></sl-input>
|
||||
<sl-input name="last_name" placeholder="N" maxlength="1" type="text" label="Last Initial" class="border-red-500"></sl-input>
|
||||
</div>
|
||||
<br/>
|
||||
}
|
||||
|
||||
templ InputNameValid() {
|
||||
@@ -31,4 +33,5 @@ templ InputNameValid() {
|
||||
<sl-input name="first_name" placeholder="Satoshi" type="text" label="First Name" required autofocus class="border-green-500"></sl-input>
|
||||
<sl-input name="last_name" placeholder="N" maxlength="1" type="text" label="Last Initial" class="border-green-500"></sl-input>
|
||||
</div>
|
||||
<br/>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user