Browse Source
Merge pull request #220 from Hunter275/issue-219-suffix-overlap
Fix padding on suffix
pull/232/head
Ben Meadors
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/components/UI/Input.tsx
|
|
|
@ -32,7 +32,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>( |
|
|
|
{...props} |
|
|
|
/> |
|
|
|
{suffix && ( |
|
|
|
<div className="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 font-mono text-textSecondary"> |
|
|
|
<div className="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-9 font-mono text-textSecondary"> |
|
|
|
<span className="text-gray-500 sm:text-sm">{suffix}</span> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
|