From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/base/linked-apps-panel/index.tsx | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/components/base/linked-apps-panel/index.tsx b/app/components/base/linked-apps-panel/index.tsx index 4ee67c5..4320cb0 100644 --- a/app/components/base/linked-apps-panel/index.tsx +++ b/app/components/base/linked-apps-panel/index.tsx @@ -27,15 +27,15 @@ isMobile, }: ILikedItemProps) => { return ( - <Link className={cn('group/link-item flex h-8 w-full cursor-pointer items-center justify-between rounded-lg px-2 hover:bg-state-base-hover', isMobile && 'justify-center')} href={`/app/${detail?.id}/overview`}> + <Link className={cn('group/link-item flex items-center justify-between w-full h-8 rounded-lg hover:bg-state-base-hover cursor-pointer px-2', isMobile && 'justify-center')} href={`/app/${detail?.id}/overview`}> <div className='flex items-center'> - <div className={cn('relative h-6 w-6 rounded-md')}> + <div className={cn('relative w-6 h-6 rounded-md')}> <AppIcon size='tiny' iconType={detail.icon_type} icon={detail.icon} background={detail.icon_background} imageUrl={detail.icon_url} /> </div> - {!isMobile && <div className={cn(' system-sm-medium ml-2 truncate text-text-primary')}>{detail?.name || '--'}</div>} + {!isMobile && <div className={cn(' ml-2 truncate system-sm-medium text-text-primary')}>{detail?.name || '--'}</div>} </div> - <div className='system-2xs-medium-uppercase shrink-0 text-text-tertiary group-hover/link-item:hidden'>{appTypeMap[detail.mode]}</div> - <RiArrowRightUpLine className='hidden h-4 w-4 text-text-tertiary group-hover/link-item:block' /> + <div className='group-hover/link-item:hidden shrink-0 system-2xs-medium-uppercase text-text-tertiary'>{appTypeMap[detail.mode]}</div> + <RiArrowRightUpLine className='hidden group-hover/link-item:block w-4 h-4 text-text-tertiary' /> </Link> ) } @@ -51,8 +51,8 @@ }) => { const { t } = useTranslation() return ( - <div className='w-[320px] rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg-blur p-1 shadow-lg backdrop-blur-[5px]'> - <div className='system-xs-medium-uppercase mb-0.5 mt-1 pl-2 text-text-tertiary'>{relatedApps.length || '--'} {t('common.datasetMenus.relatedApp')}</div> + <div className='p-1 w-[320px] bg-components-panel-bg-blur border-[0.5px] border-components-panel-border shadow-lg rounded-xl backdrop-blur-[5px]'> + <div className='mt-1 mb-0.5 pl-2 system-xs-medium-uppercase text-text-tertiary'>{relatedApps.length || '--'} {t('common.datasetMenus.relatedApp')}</div> {relatedApps.map((item, index) => ( <LikedItem key={index} detail={item} isMobile={isMobile} /> ))} -- Gitblit v1.8.0