move font size to project settings

This commit is contained in:
TC
2026-06-14 18:48:53 +10:00
parent 8dba10159d
commit caa27ab790
6 changed files with 58 additions and 24 deletions

View File

@@ -128,8 +128,6 @@ export function AnalysisToolbar(): JSX.Element {
chatHistory,
projectWordCount,
setProjectWordCount,
fontSize,
setFontSize,
setRightPanelTab,
outlineOpen,
toggleOutline,
@@ -535,25 +533,7 @@ export function AnalysisToolbar(): JSX.Element {
>
</button>
<div className="toolbar-fontsize">
<button
className="toolbar-fontsize-btn"
onClick={() => setFontSize(fontSize - 1)}
disabled={fontSize <= 11}
title="Decrease font size"
>
A
</button>
<button
className="toolbar-fontsize-btn"
onClick={() => setFontSize(fontSize + 1)}
disabled={fontSize >= 24}
title="Increase font size"
>
A+
</button>
</div>
{selectionWordCount !== null && (
{selectionWordCount !== null && (
<span className="toolbar-selection-wordcount" title={`${selectionWordCount} words selected`}>
{formatWordCount(selectionWordCount)} sel
</span>