layout: fix options list align right on Windows (#1829)

This commit is contained in:
Huang Xin
2025-08-18 22:10:06 +08:00
committed by GitHub
parent 2e98ed44ee
commit bfacadb964
3 changed files with 3 additions and 3 deletions
@@ -264,7 +264,7 @@ const ColorPanel: React.FC<SettingsPanelPanelProp> = ({ bookKey, onRegisterReset
onChange={(event) => setCodeLanguage(event.target.value as CodeLanguage)}
options={CODE_LANGUAGES.map((lang) => ({
value: lang,
label: lang,
label: lang === 'auto-detect' ? _('Auto') : lang,
}))}
disabled={!codeHighlighting}
/>