فهرست منبع

fix(frontend): :wrench: add privacy policy spaces (#4277)

Patryk Garstecki 11 ماه پیش
والد
کامیت
370e1c1a17

+ 1 - 1
web/app/components/base/chat/chat-with-history/config-panel/index.tsx

@@ -134,7 +134,7 @@ const ConfigPanel = () => {
             {site?.privacy_policy
               ? <div className={`flex items-center ${isMobile && 'w-full justify-end'}`}>{t('share.chat.privacyPolicyLeft')}
                 <a
-                  className='text-gray-500'
+                  className='text-gray-500 px-1'
                   href={site?.privacy_policy}
                   target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
                 {t('share.chat.privacyPolicyRight')}

+ 1 - 1
web/app/components/share/chat/welcome/index.tsx

@@ -357,7 +357,7 @@ const Welcome: FC<IWelcomeProps> = ({
             {siteInfo.privacy_policy
               ? <div>{t('share.chat.privacyPolicyLeft')}
                 <a
-                  className='text-gray-500'
+                  className='text-gray-500 px-1'
                   href={siteInfo.privacy_policy}
                   target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
                 {t('share.chat.privacyPolicyRight')}

+ 1 - 1
web/app/components/share/chatbot/welcome/index.tsx

@@ -358,7 +358,7 @@ const Welcome: FC<IWelcomeProps> = ({
             {siteInfo.privacy_policy
               ? <div>{t('share.chat.privacyPolicyLeft')}
                 <a
-                  className='text-gray-500'
+                  className='text-gray-500 px-1'
                   href={siteInfo.privacy_policy}
                   target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
                 {t('share.chat.privacyPolicyRight')}

+ 1 - 1
web/app/components/share/text-generation/index.tsx

@@ -618,7 +618,7 @@ const TextGeneration: FC<IMainProps> = ({
                 <div>·</div>
                 <div>{t('share.chat.privacyPolicyLeft')}
                   <a
-                    className='text-gray-500'
+                    className='text-gray-500 px-1'
                     href={siteInfo.privacy_policy}
                     target='_blank' rel='noopener noreferrer'>{t('share.chat.privacyPolicyMiddle')}</a>
                   {t('share.chat.privacyPolicyRight')}