Sfoglia il codice sorgente

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

tags/0.3.13
Joel 2 anni fa
parent
commit
17c3a63e50
Nessun account collegato all'indirizzo email del committer

+ 1
- 1
web/app/components/explore/app-list/index.tsx Vedi 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 Vedi 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…
Annulla
Salva