Repository navigation
后台设置页:邮件服务商下拉框的箭头向左收一点 - #131
Merged
todosdev[bot] merged 1 commit intoOct 18, 2026
Merged
Conversation
- Replace the native select arrow with a lucide-react ChevronDown icon positioned at right-5 inside a relative max-w-xs wrapper - Add appearance-none and pr-10 to the select so text never overlaps the icon while keeping value, onChange, and focus behavior unchanged Checkpoint: E9pTcFR_sRiP3m5eFpCyB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ChevronDown图标并向左收进输入框内。onChange、焦点样式、键盘操作全部保持不变。Changes
apps/web/src/pages/admin/AdminSettingsPage.tsximport { ChevronDown } from 'lucide-react'。relative w-full max-w-xs容器包裹<select>(保持原max-w-xs宽度不变),<select>改为w-full。<select>加appearance-none隐藏原生箭头,右内边距扩为pr-10给图标留位、避免文字重叠。ChevronDown(h-4 w-4、right-5、垂直居中、pointer-events-none、text-muted-foreground),点击箭头仍命中 select 本身。<select>需统一。Testing
pnpm check(Biome,101 文件,无修复)、pnpm typecheck(web + worker 全绿)、pnpm build(vite 构建成功)、pnpm test(60 项全过)。ChevronDown图标右边缘距右边缘 20px(箭头中心约 28px),可视需再微调right-*值。