mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 05:10:58 +08:00
chore: cleanup
This commit is contained in:
@@ -285,7 +285,7 @@
|
||||
[data-component="markdown"] {
|
||||
margin-top: 24px;
|
||||
font-style: normal;
|
||||
font-size: inherit;
|
||||
font-size: var(--font-size-base);
|
||||
color: var(--text-weak);
|
||||
|
||||
strong,
|
||||
|
||||
@@ -979,6 +979,20 @@ const CSS_CONTROLS: CSSControl[] = [
|
||||
},
|
||||
|
||||
// --- Reasoning part ---
|
||||
{
|
||||
key: "reasoning-md-font-size",
|
||||
label: "Reasoning font size",
|
||||
group: "Reasoning Part",
|
||||
type: "range",
|
||||
initial: "14",
|
||||
selector: '[data-component="reasoning-part"] [data-component="markdown"]',
|
||||
property: "font-size",
|
||||
min: "10",
|
||||
max: "22",
|
||||
step: "1",
|
||||
unit: "px",
|
||||
source: { file: MP, anchor: '[data-component="reasoning-part"]', prop: "font-size", format: px },
|
||||
},
|
||||
{
|
||||
key: "reasoning-md-margin-top",
|
||||
label: "Reasoning markdown margin-top",
|
||||
|
||||
Reference in New Issue
Block a user