diff --git a/skills/qml-authoring/SKILL.md b/skills/qml-authoring/SKILL.md index 0b91b36..71d23fb 100644 --- a/skills/qml-authoring/SKILL.md +++ b/skills/qml-authoring/SKILL.md @@ -15,7 +15,7 @@ description: Use this skill when authoring, reviewing, fixing, or documenting QM - 维护 traits 量表问卷的维度说明、分析建议与 Front Matter 解释口径 - 维护问卷 `intro` / `outro` 图片及其展示约定 - 排查 QML 解析错误 -- 更新 QML 规范文档或 QML 示例 +- 更新 `qml.md` 或 QML 示例 - 评审 QML 语法与 parser 行为是否一致 ## 工作流 diff --git a/skills/quiz-repo-spec/references/repo-contract.md b/skills/quiz-repo-spec/references/repo-contract.md index 7c9e11f..9515817 100644 --- a/skills/quiz-repo-spec/references/repo-contract.md +++ b/skills/quiz-repo-spec/references/repo-contract.md @@ -24,6 +24,7 @@ - 必须存在 `md-quiz-repo.yaml` - 必须存在 `README.md` +- 新增、删除或重命名 quiz 后,必须同步更新 `md-quiz-repo.yaml` 与 `README.md` - 不再支持根目录散落 `*.md` ### manifest 要求 @@ -44,6 +45,7 @@ quizzes: - `quizzes` 必须是非空列表 - 每个 `path` 只能是 `quizzes//quiz.md` - `path` 不能重复,不能越界,必须真实存在 +- 新增或删除 quiz 时,`quizzes` 列表必须同步反映实际仓库内容 - 当前仓库规范版本号与 QML 头部推荐的 `schema_version: 2` / `format: qml-v2` 保持同一代际 ## Quiz 目录规则 diff --git a/static/admin.css b/static/admin.css index 8e6c944..acc687b 100644 --- a/static/admin.css +++ b/static/admin.css @@ -3312,16 +3312,6 @@ font-size: 1.05rem; } } - .xl\:sticky { - @media (width >= 80rem) { - position: sticky; - } - } - .xl\:top-6 { - @media (width >= 80rem) { - top: calc(var(--spacing) * 6); - } - } .xl\:hidden { @media (width >= 80rem) { display: none; @@ -3678,6 +3668,12 @@ position: relative; min-width: 0; } + .admin-sticky-aside { + min-width: 0; + } + .admin-sticky-aside__body { + min-width: 0; + } .admin-subsurface { border-color: rgba(37, 99, 235, 0.12); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05); @@ -3698,7 +3694,7 @@ } .admin-primary-nav__track { display: grid; - grid-template-columns: repeat(5, minmax(0, 1fr)); + grid-template-columns: repeat(var(--admin-primary-nav-columns, 5), minmax(0, 1fr)); gap: 0.45rem; border-radius: 1rem; border: 1px solid rgba(37, 99, 235, 0.14); @@ -3791,6 +3787,26 @@ width: 6.5rem; height: 6.5rem; } + @media (min-width: 1280px) { + .admin-sticky-aside { + position: sticky; + top: 1.5rem; + display: flex; + max-height: calc(100vh - 3rem); + flex-direction: column; + overflow: hidden; + align-self: flex-start; + } + .admin-sticky-aside__body { + flex: 1 1 auto; + min-height: 0; + overflow-y: auto; + overscroll-behavior: contain; + scrollbar-gutter: stable; + padding-right: 0.35rem; + margin-right: -0.35rem; + } + } .assignment-surface { position: relative; isolation: isolate; @@ -4861,4 +4877,4 @@ --tw-translate-z: 0; } } -} \ No newline at end of file +} diff --git a/static/admin/index.html b/static/admin/index.html index 00c0d7f..49b9337 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -120,7 +120,12 @@

-