Prechádzať zdrojové kódy

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

Joel 1 rok pred
rodič
commit
17c3a63e50

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

@@ -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

@@ -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))