mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 18:35:58 +08:00
fix: app card hover selector (#1646)
This commit is contained in:
parent
451af66be0
commit
4322b17a81
@ -30,7 +30,7 @@ const AppCard = ({
|
|||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
const { app: appBasicInfo } = app
|
const { app: appBasicInfo } = app
|
||||||
return (
|
return (
|
||||||
<div className='col-span-1 bg-white border-2 border-solid border-transparent rounded-lg shadow-sm min-h-[160px] flex flex-col transition-all duration-200 ease-in-out cursor-pointer hover:shadow-lg'>
|
<div className={cn(s.wrap, 'col-span-1 bg-white border-2 border-solid border-transparent rounded-lg shadow-sm min-h-[160px] flex flex-col transition-all duration-200 ease-in-out cursor-pointer hover:shadow-lg')}>
|
||||||
<div className='flex pt-[14px] px-[14px] pb-3 h-[66px] items-center gap-3 grow-0 shrink-0'>
|
<div className='flex pt-[14px] px-[14px] pb-3 h-[66px] items-center gap-3 grow-0 shrink-0'>
|
||||||
<AppIcon size='small' icon={app.app.icon} background={app.app.icon_background} />
|
<AppIcon size='small' icon={app.app.icon} background={app.app.icon_background} />
|
||||||
<div className='relative h-8 text-sm font-medium leading-8 grow'>
|
<div className='relative h-8 text-sm font-medium leading-8 grow'>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
.wrap {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.mode {
|
.mode {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 28px;
|
height: 28px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user