minecodex 2.0.30 → 2.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /* Pages 正文角色;仅标记的原生 Preview 生效。布局尺寸是本功能的面板适配规则。 */
1
+ /* Pages 正文角色与阅读宽度;仅标记的原生 Preview 生效。 */
2
2
  .cm-editor[data-minecodex-markdown-reading] .mcx-reading-link {
3
3
  color: var(--color-text-accent, var(--color-token-text-link-foreground));
4
4
  text-decoration: underline;
@@ -13,9 +13,9 @@
13
13
  }
14
14
  .cm-editor[data-minecodex-markdown-reading] {
15
15
  --file-editor-font-size: var(--mcx-text-document, 14px);
16
- --mcx-reading-width: 800px;
17
- --mcx-reading-gutter: clamp(16px, 4cqi, 40px);
18
- --mcx-reading-table-reading-width: calc(var(--thread-content-max-width, 768px) - var(--padding-toolbar, 16px) * 2);
16
+ --mcx-reading-width: calc(var(--thread-content-max-width) - var(--padding-toolbar) * 2);
17
+ --mcx-reading-gutter: calc(var(--spacing) * 14);
18
+ --mcx-reading-table-reading-width: var(--mcx-reading-width);
19
19
  --mcx-reading-table-wide-margin: min(calc(var(--spacing, .25rem) * 16), max(0px, (100cqi - var(--mcx-reading-table-reading-width)) / 2));
20
20
  container-type: inline-size;
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecodex",
3
- "version": "2.0.30",
3
+ "version": "2.0.31",
4
4
  "description": "Lightweight, local-first plugins for the Codex desktop app.",
5
5
  "license": "MIT",
6
6
  "type": "module",