fix: toggle alignment, spacing, square btn (#4282)

* fix: toggle alignment, spacing, square btn

* fix: toggle alignment

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-09-08 19:38:11 +02:00
1 parent dce7973825
commit 0c2a25fb78
2 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -204,11 +204,11 @@ const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function InputF
"h-9 border border-gray-300",
addOnFilled && "bg-gray-100",
addOnLeading && "rounded-l-md border-r-0",
addOnSuffix && "rounded-r-md border-l-0"
addOnSuffix && "border-l-0"
)}>
<div
className={classNames(
"flex h-full flex-col justify-center px-3 text-sm",
"flex h-full flex-col justify-center px-1 text-sm",
props.error && "text-red-900"
)}>
<span className="whitespace-nowrap">{addOnLeading || addOnSuffix}</span>