charles_c 6 月之前
父節點
當前提交
1447282905
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/app/ui/components/ActivityModal.jsx

+ 2 - 3
src/app/ui/components/ActivityModal.jsx

@@ -76,12 +76,11 @@ const ActivityModal = () => {
         </button>
         </button>
 
 
         <div
         <div
-          className="bg-cover bg-center rounded-lg px-6 pt-20 max-w-sm w-full mx-4 overflow-hidden"
+          className="bg-cover bg-center rounded-lg px-6 pb-6 pt-20 max-w-sm w-full mx-4 overflow-hidden"
           style={{
           style={{
             backgroundImage: "url('/images/ad_bg.jpg')",
             backgroundImage: "url('/images/ad_bg.jpg')",
-            maxHeight: "80vh",
-            height: "50vh",
             width: "80vw",
             width: "80vw",
+            minHeight: "50vh",
             backgroundPosition: "top center",
             backgroundPosition: "top center",
           }}
           }}
         >
         >