Skip to content

Commit

Permalink
Merge pull request #220 from Hunter275/issue-219-suffix-overlap
Browse files Browse the repository at this point in the history
Fix padding on suffix
  • Loading branch information
thebentern authored Jun 14, 2024
2 parents 0c28a20 + 9061b7c commit 89f0b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UI/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)}
Expand Down

0 comments on commit 89f0b97

Please sign in to comment.