mirror of https://github.com/langgenius/dify.git
chore: app card ui
This commit is contained in:
parent
7240d90bc1
commit
49a4a40863
|
|
@ -90,7 +90,7 @@ const Apps: FC = ({ }) => {
|
|||
}}
|
||||
>
|
||||
<nav
|
||||
className={`${s.appList} grid content-start grid-cols-1 gap-4 px-12 pb-10 md:grid-cols-2 grow shrink-0`}>
|
||||
className={`${s.appList} grid content-start grid-cols-1 gap-4 px-12 pb-10grow shrink-0`}>
|
||||
{currList.map(app => (
|
||||
<AppCard
|
||||
key={app.app_id}
|
||||
|
|
|
|||
|
|
@ -2,4 +2,16 @@
|
|||
.appList {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr))
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1300px) and (max-width: 1624px) {
|
||||
.appList {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr))
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1025px) and (max-width: 1300px) {
|
||||
.appList {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr))
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue