mirror of https://github.com/langgenius/dify.git
fix: Correct isMobile prop logic in LinkedAppsPanel and clean up component styles
This commit is contained in:
parent
11576932c9
commit
5691ceb0ba
|
|
@ -49,7 +49,7 @@ const LinkedAppsPanel: FC<Props> = ({
|
|||
isMobile,
|
||||
}) => {
|
||||
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='w-[320px] rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg-blur p-1 shadow-lg backdrop-blur-[5px]'>
|
||||
{relatedApps.map((item, index) => (
|
||||
<LikedItem key={index} detail={item} isMobile={isMobile} />
|
||||
))}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ const Statistics = ({
|
|||
hasRelatedApps ? (
|
||||
<LinkedAppsPanel
|
||||
relatedApps={relatedApps.data}
|
||||
isMobile={expand}
|
||||
isMobile={!expand}
|
||||
/>
|
||||
) : <NoLinkedAppsPanel />
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue