fix: center search icon in test project list
This commit is contained in:
@@ -68,7 +68,7 @@ main{padding:30px 38px 36px;flex:1;min-width:0}
|
||||
textarea.input{resize:vertical;line-height:1.7}
|
||||
.search{flex:1;min-width:200px;position:relative}
|
||||
.search .input{padding-left:34px;background:#f8faf6}
|
||||
.search:before{content:'⌕';position:absolute;left:13px;top:6px;font-size:20px;color:#8b9c89}
|
||||
.search:before{content:'';position:absolute;left:12px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9c89' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E") center/contain no-repeat}
|
||||
.filters select{width:auto;max-width:220px}
|
||||
.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:23px 0 13px;font-size:12px}
|
||||
.section-title h2{font-size:14px;overflow-wrap:anywhere}
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import sys
|
||||
|
||||
ROOT = Path("/adamwen-work-space/xas-test-library")
|
||||
NAME = "adamwen-script-console"
|
||||
IMAGE = "adamwen/script-console:20261013-5"
|
||||
IMAGE = "adamwen/script-console:20261014-1"
|
||||
UNIT = "adamwen-script-worker.service"
|
||||
|
||||
|
||||
|
||||
@@ -65,3 +65,13 @@ Git 远程为公司仓库 `https://code.it.aisuan.cn/wenhuadian/xas-test-library
|
||||
修改限定于 `console/static/scripts.js`、`runs.js`、`styles.css` 及部署镜像引用。正式镜像为 `adamwen/script-console:20261013-3`,摘要 `sha256:62424bf4b9c34c986cc6831b8fc083e821fa78bbd5da8fbf89a1d9e897acd7fe`。1440px 和 390px 真实浏览器验证整卡/整行点击、返回、滚动、键盘及错误状态通过,没有页面横向溢出或 JavaScript 错误。
|
||||
|
||||
本轮未执行测试脚本或调用模型。历史记录仍为 10 条;scripts/versions/runs 数据摘要与更新前一致,worker PID 与原模型容器启动状态未改变。备份在 `runtime/backups/before-ui-navigation-20261013/`,旧网页容器 `adamwen-script-console-before-navigation-20261013` 停止保留。回退只需替换网页,不覆盖数据库或重启 worker;未实际触发回退。证据位于本地 `.local/evidence/navigation-browser.json` 和服务器 `runtime/navigation-acceptance.json`。
|
||||
|
||||
## 2026-10-14 10:17 搜索图标对齐修复
|
||||
|
||||
搜索图标原先使用字体字符及固定顶部偏移,字形基线导致图标偏下。改为 16px 内嵌 SVG,按输入框高度垂直居中,并让鼠标点击穿透到输入框。仅修改 `console/static/styles.css` 和部署镜像引用,搜索逻辑不变。
|
||||
|
||||
1440px、2790px、390px 真实浏览器预览及正式页面均验证居中、图标区域点击聚焦、搜索命中/空结果/清空恢复正常,无 JavaScript 错误。仅替换网页容器,未重启 worker 或模型;scripts/versions/runs 摘要不变,仍为 10 条历史记录、0 活动任务。没有运行 GPU 测试。
|
||||
|
||||
正式镜像 `adamwen/script-console:20261014-1`,摘要 `sha256:ddbf3622b4e468ae9368864965ed2830d067a021596a6981aeca68bb5109880c`。备份为 `runtime/backups/before-search-alignment-20261014/`;旧网页容器 `adamwen-script-console-before-search-alignment-20261014` 停止保留,可仅切换网页回退,不覆盖数据库或重启 worker。故障回退未触发。
|
||||
|
||||
证据:服务器 `runtime/search-alignment-acceptance.json`;本地 `.local/evidence/search-deployed.json` 和 `.local/screenshots/search-*.png`。用户随后于 2026-10-14 明确授权将本次 UI 修复提交并同步到公司 Git 仓库。
|
||||
|
||||
Reference in New Issue
Block a user