From 15220ab22554e0c3e1a2e7eeb0a9e30ae9d5d35e Mon Sep 17 00:00:00 2001 From: nap0o Date: Tue, 17 Mar 2026 21:09:46 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=8E=BB=E6=8E=89=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E4=B8=BB=E5=8C=BA=E5=9F=9F=E7=9A=84=E5=B7=A6=E5=8F=B3?= =?UTF-8?q?=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- frontend/src/app/styles/modules/base/reset.css | 10 ++++++++++ frontend/src/app/styles/modules/layout/containers.css | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5e402c7..18358f4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -81,7 +81,7 @@ jobs: CLOUDFLARE_D1_DATABASE_ID: ${{ secrets.CLOUDFLARE_D1_DATABASE_ID }} CLOUDFLARE_D1_DATABASE_NAME: ${{ secrets.CLOUDFLARE_D1_DATABASE_NAME || '2fauth-db' }} run: | - sed -i '/^\[\[d1_databases\]\]/d; /^[[:space:]]*database_name[[:space:]]*=/d; /^[[:space:]]*database_id[[:space:]]*=/d' wrangler.toml + sed -i '/^\[\[d1_databases\]\]/d; /^[[:space:]]*database_name[[:space:]]*=/d; /^[[:space:]]*database_id[[:space:]]*=/d; /^[[:space:]]*binding[[:space:]]*=[[:space:]]*"DB"/d' wrangler.toml if grep -q "\[env.dev\]" wrangler.toml; then sed -i '/\[env.dev\]/,$d' wrangler.toml fi diff --git a/frontend/src/app/styles/modules/base/reset.css b/frontend/src/app/styles/modules/base/reset.css index df2d29f..dc5ba02 100644 --- a/frontend/src/app/styles/modules/base/reset.css +++ b/frontend/src/app/styles/modules/base/reset.css @@ -66,4 +66,14 @@ a:hover { border-radius: 12px; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05); min-height: 400px; +} + +@media (max-width: 768px) { + .tab-card-wrapper { + background: none; + padding: 0; + border-radius: 0; + box-shadow: none; + min-height: 0; + } } \ No newline at end of file diff --git a/frontend/src/app/styles/modules/layout/containers.css b/frontend/src/app/styles/modules/layout/containers.css index 6c87234..8fc2942 100644 --- a/frontend/src/app/styles/modules/layout/containers.css +++ b/frontend/src/app/styles/modules/layout/containers.css @@ -85,7 +85,7 @@ main { .home-container, .main-body { height: auto; - min-height: 100vh; + min-height: calc(100vh - 120px); overflow: visible; } }