Skip to content

Commit

Permalink
Improve space between buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
plasmadice committed Mar 3, 2023
1 parent d37781f commit a1be37d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/pin/pinForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,29 +70,29 @@ export default function PinForm() {
<form
onSubmit={sendPin}
noValidate
className="w-[90%] h-full grid grid-cols-1 place-content-stretch"
className="w-[90%] h-full grid grid-cols-1"
>
<div className="h-[70%] space-y-4 grid grid-cols-1 place-content-stretch">
<div className="h-[70%][ space-y-4] grid grid-cols-1">
<p className="text-white font-mono text-base pt-4">PIN LOGIN</p>
<input
type="text"
value={text}
onChange={handleInputChange}
placeholder='"123456"'
className="w-full appearance-none bg-blue-haze border-none text-gray-700 py-1 px-2 leading-tight focus:outline"
className="w-full max-h-10 appearance-none bg-blue-haze border-none text-gray-700 py-1 px-2 leading-tight focus:outline"
/>
<div className="w-full grid grid-cols-2 place-content-center space-x-8">
<div className="w-full grid grid-cols-2 place-content-between px-4 gap-10">
<button
onClick={sendPin}
className="flex-shrink-0 bg-windows-blue hover:bg-firefly text-sm text-white py-1 px-2 rounded"
className="flex-shrink-0 bg-windows-blue hover:bg-firefly text-sm text-white py-1 px-2 rounded row-span-1"
type="button"
>
Submit
</button>
<button
disabled={waiting}
onClick={handleClearInput}
className="flex-shrink-0 bg-persian-red hover:bg-firefly text-sm text-white py-1 px-2 rounded"
className="flex-shrink-0 bg-persian-red hover:bg-firefly text-sm text-white py-1 px-2 rounded row-span-1"
type="button"
>
Clear
Expand Down

1 comment on commit a1be37d

@vercel
Copy link

@vercel vercel bot commented on a1be37d Mar 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.