mirror of
https://github.com/documenso/documenso.git
synced 2026-07-14 14:57:12 +10:00
fix: restore field color after validation
This commit is contained in:
@@ -138,7 +138,7 @@ export function FieldRootContainer({
|
||||
data-readonly={readonly ? 'true' : 'false'}
|
||||
className={cn(
|
||||
'field--FieldRootContainer field-card-container dark-mode-disabled group relative z-20 flex h-full w-full items-center rounded-[2px] bg-white/90 ring-2 ring-gray-200 transition-all',
|
||||
!isValidating && color?.base,
|
||||
!(isValidating && isFieldUnsignedAndRequired(field)) && color?.base,
|
||||
{
|
||||
'px-2': field.type !== FieldType.SIGNATURE && field.type !== FieldType.FREE_SIGNATURE,
|
||||
'justify-center': !field.inserted,
|
||||
|
||||
Reference in New Issue
Block a user