Add drawer body font size setting and update defaults#13
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8ff748c513
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <label class="ld-setting-field"> | ||
| <div class="ld-setting-row"> | ||
| <span class="ld-setting-label">正文字号</span> | ||
| <span class="ld-setting-value" data-setting-value="postBodyFontSize">15px</span> | ||
| </div> |
There was a problem hiding this comment.
Hide or disable the body font-size slider in iframe mode
This new control is shown unconditionally, but on a fresh install previewMode now defaults to "iframe" in DEFAULT_SETTINGS, and the slider only feeds the --ld-post-body-font-size CSS variable that is consumed by .ld-post-body in smart preview. In the default configuration there is no .ld-post-body at all—loadTopic() renders an <iframe> instead—so the new setting appears broken until the user discovers they must switch preview modes first.
Useful? React with 👍 / 👎.
Summary
Verification