style: 登录页顶部下移一个行高, 功能内页顶部上移半个行高; android 构建仅 src-tauri 变更触发
Docker Build and Push / build-image (push) Successful in 1m51s

This commit is contained in:
jif2.zhang
2026-09-16 16:23:35 +08:00
parent 9a02886553
commit d1f7b9ca7f
3 changed files with 8 additions and 3 deletions
+4
View File
@@ -1,11 +1,15 @@
name: Android Build & Publish
# 每次提交触发 (所有分支 push; 主分支提交会同时触发 docker-build.yml 自动部署)
# 仅 src-tauri/** 变更才重编 APK: APP 内嵌的前端 dist 走 OTA 热更通道,
# 纯前端改动交给 docker-build.yml (生成新 OTA 包) 或手动 ota-only.yml, 不必等 56 分钟全量构建
# 构建 release APK (keystore 签名) 并上传到 Cloudflare R2 (S3 兼容 API)
# R2 凭据从配置注册中心 (bh.vps.honor3.com:8008, CommonExternalService, 分组 cloudflare) 读取
# 参考: D:\workbench\iboard\.gitea\workflows\android-build.yml
on:
push:
paths:
- 'src-tauri/**'
jobs:
build-android:
+2 -1
View File
@@ -50,7 +50,8 @@ export default function Login() {
};
return (
<div style={{ height: "100%", display: "flex", flexDirection: "column", justifyContent: "center", padding: "0 28px", maxWidth: 420, margin: "0 auto" }}>
// 登录页: 上边框相对此前 0 下移一个行高 (20px), 同时避开状态栏/刘海
<div style={{ height: "100%", display: "flex", flexDirection: "column", justifyContent: "center", padding: "calc(env(safe-area-inset-top) + 20px) 28px 0", maxWidth: 420, margin: "0 auto" }}>
<div style={{ textAlign: "center", marginBottom: 40 }}>
<div style={{ fontSize: 56, marginBottom: 8 }}>👕</div>
<h1 style={{ fontSize: 32, letterSpacing: -0.5 }}>Wardrobe</h1>
+2 -2
View File
@@ -64,8 +64,8 @@ textarea {
height: 100%;
max-width: 500px;
margin: 0 auto;
/* 顶部避开状态栏/刘海, 再多让出半个行高 (edge-to-edge 时 env() 才生效) */
padding-top: calc(env(safe-area-inset-top) + 10px);
/* 功能内页: 距顶部仅留状态栏/刘海高度 (相对此前 +10px 上移半个行高) */
padding-top: env(safe-area-inset-top);
}
.app-content {