style: 去掉移动端主区域的左右间距

This commit is contained in:
nap0o committed 2026-03-17 21:09:46 +08:00
1 parent 023ea9564a
commit 15220ab225
3 files changed
+12 -2

No files matched your search

+1 -1
View File
@@ -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
@@ -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;
}
}
@@ -85,7 +85,7 @@ main {
.home-container,
.main-body {
height: auto;
min-height: 100vh;
min-height: calc(100vh - 120px);
overflow: visible;
}
}