From cfadda9d23e6626910f2f394b245235d9ccb84e7 Mon Sep 17 00:00:00 2001 From: zikai Date: Tue, 28 Jul 2026 04:33:01 +0000 Subject: [PATCH] =?UTF-8?q?docs(whiteboard):=20=E6=B3=A8=E9=87=8A=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=E7=8E=B0=E7=8A=B6=EF=BC=8C=E7=A7=BB=E9=99=A4=E8=BF=87?= =?UTF-8?q?=E6=97=B6=E7=9A=84=20iframe=20=E5=B5=8C=E5=85=A5=E8=AF=B4?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mainPage 已把白板页签从 iframe 嵌入改为构建期组件 import zWhiteBoard, 独立页注释里的「会被 iframe 嵌入到浅色站点」理由已过时。改为说明本独立页 与 zWhiteBoard 组件共享样式与视觉,强制浅色样式本身保留不变。 --- static/whiteboard.css | 4 ++-- static/whiteboard.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/whiteboard.css b/static/whiteboard.css index 1b8a572..50bf089 100644 --- a/static/whiteboard.css +++ b/static/whiteboard.css @@ -1,6 +1,6 @@ /* 记事本页专属样式:全屏 textarea、悬浮工具栏、移动端适配。 */ -/* 强制浅色:本页常被 iframe 嵌入浅色站点,覆盖 common.css 的 - color-scheme: light dark 与 prefers-color-scheme: dark,避免深色背景。 */ +/* 强制浅色:本独立页与 zWhiteBoard 组件(被 mainPage 构建期 import 到浅色站点)共享视觉, + 覆盖 common.css 的 color-scheme: light dark 与 prefers-color-scheme: dark,避免深色背景。 */ :root { --bar-h: 52px; color-scheme: light; diff --git a/static/whiteboard.html b/static/whiteboard.html index e027873..19d1d89 100644 --- a/static/whiteboard.html +++ b/static/whiteboard.html @@ -4,8 +4,8 @@ - + 记事本 - zikai