fix(panel): align floating task panel font and spacing with sidebar

- Mirror host --font-sans/--font-mono onto portalHost before native theme
  early-return so Shadow DOM overlays inherit host fonts instead of falling
  back to narrower system defaults
- Reset font-weight, font-stretch, font-variation-settings,
  font-feature-settings, and letter-spacing on portalHost and panel root,
  and enable :host([data-font-scale]) token scaling
- Align multi-session floating panel width (522px), card row gap (7px),
  header baseline, Modern UI last-child bottom padding, and right-side
  elapsed spacing with the sidebar task card
This commit is contained in:
fish
2026-11-25 13:18:21 +09:00
parent fd9948f9ac
commit 5565133710
11 changed files with 284 additions and 42 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>用量监控</title>
<link rel="stylesheet" href="/styles.css?v=1795544315678">
<link rel="stylesheet" href="/styles.css?v=1795580198302">
<script src="/preload.js"></script>
</head>
<body>
<div id="app-root"></div>
<script src="/app.js?v=1795544315678"></script>
<script src="/app.js?v=1795580198302"></script>
</body>
</html>