fix: creating modal style

This commit is contained in:
yessenia 2025-10-13 14:54:24 +08:00
parent ba88c7b25b
commit 4f8bf97935
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ export const EncryptedBottom = (props: Props) => {
const { frontTextKey, backTextKey, className } = props const { frontTextKey, backTextKey, className } = props
return ( return (
<div className={cn('system-xs-regular flex items-center border-t-[0.5px] border-divider-subtle bg-background-soft px-2 py-3 text-text-tertiary', className)}> <div className={cn('system-xs-regular flex items-center rounded-b-2xl border-t-[0.5px] border-divider-subtle bg-background-soft px-2 py-3 text-text-tertiary', className)}>
<RiLock2Fill className='mx-1 h-3 w-3 text-text-quaternary' /> <RiLock2Fill className='mx-1 h-3 w-3 text-text-quaternary' />
{t(frontTextKey || 'common.provider.encrypted.front')} {t(frontTextKey || 'common.provider.encrypted.front')}
<Link <Link

View File

@ -212,10 +212,10 @@ export const CommonCreateModal = ({ onClose, createType, builder }: Props) => {
// console.log('parameterForm', parameterForm) // console.log('parameterForm', parameterForm)
if (!subscriptionFormValues?.isCheckValidated || (createType !== SupportedCreationMethods.MANUAL && !autoCommonParametersFormValues?.isCheckValidated)) { if (!subscriptionFormValues?.isCheckValidated || (createType !== SupportedCreationMethods.MANUAL && !autoCommonParametersFormValues?.isCheckValidated)) {
Toast.notify({ // Toast.notify({
type: 'error', // type: 'error',
message: 'Please fill in all required fields', // message: 'Please fill in all required fields',
}) // })
return return
} }