Date: 2026-01-11 15:50 Summary: Removed the header search form and fixed layout overlap on navigation and the Markdown tool.
[question] 删除搜索框和搜索按钮
[try to solve] Removed the search form from the static site header and adjusted layout so the fixed navbar and Markdown tool columns no longer collide with content.
scripts/site/components/header.mjs: dropped the top search form; kept the language switcher.src/pages/site/layout.ts: addedpadding-top: 56pxfor the fixed navbar, tuned.layoutheight and desktop flex so nav items do not wrap and the header does not cover content.src/pages/markdownToHtmlPage.ts: used flex columns withbox-sizing: border-boxandoverflow: autoso input/preview no longer overlap the article below.- Ran
npm run build:site; confirmedpublic/no longer contains arole="search"form.
[actions]
- Modified:
scripts/site/components/header.mjs - Modified:
src/pages/site/layout.ts - Modified:
src/pages/markdownToHtmlPage.ts - Ran:
npm run build:site