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
parent
commit
89f0b97492
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/UI/Input.tsx

2
src/components/UI/Input.tsx

@ -32,7 +32,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
{...props} {...props}
/> />
{suffix && ( {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> <span className="text-gray-500 sm:text-sm">{suffix}</span>
</div> </div>
)} )}

Loading…
Cancel
Save