Files
dudu/desktop/index.html
T
wangjia b914aebb00
ci / server (push) Failing after 11s
ci / design-system (push) Failing after 12s
fix(desktop): 设置窗口透明化 + 自绘 MacWindow 框,去掉原生白边(12A 实测反馈)
Overlay 标题栏模式下原生 NSWindow 底色在深色内容四周露出白边。改为
与托盘菜单一致的模式:窗口 transparent + shadow:false,由页面自绘
窗框(对齐原型 MacWindow 规格:radius-md + border-1 + shadow-window,
16px 阴影边距,窗口尺寸相应 472x592),红绿灯 trafficLightPosition
对齐自绘顶条,内容区独立滚动。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 07:47:19 +08:00

17 lines
463 B
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>dudu 设置</title>
<style>
/* 窗口 transparent,圆角/边框/阴影由页面自绘(对齐原型 MacWindow) */
html, body { margin: 0; background: transparent; }
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/settings/main.jsx"></script>
</body>
</html>