Browse Source

fix: explore app list grid style conflict and remove useless style (#725)

tags/0.3.13
Joel 2 years ago
parent
commit
17c3a63e50
No account linked to committer's email address

+ 1
- 1
web/app/components/explore/app-list/index.tsx View File

@@ -101,7 +101,7 @@ const Apps: FC = () => {
}}
>
<nav
className={`${s.appList} grid content-start grid-cols-1 gap-4 px-12 pb-10grow shrink-0`}>
className={`${s.appList} grid content-start gap-4 px-12 shrink-0`}>
{currList.map(app => (
<AppCard
key={app.app_id}

+ 4
- 0
web/app/components/explore/app-list/style.module.css View File

@@ -6,6 +6,10 @@
text-fill-color: transparent;
}

.appList {
grid-template-columns: repeat(1, minmax(0, 1fr))
}

@media (min-width: 1624px) {
.appList {
grid-template-columns: repeat(4, minmax(0, 1fr))

Loading…
Cancel
Save