style(webui): optically align directional icons

Introduce reusable one-pixel optical offsets for asymmetric forward and back glyphs without changing control boxes, spacing, or pointer hit areas.

Apply the correction consistently to navigation arrows, play controls, send actions, and the account sidebar so directional symbols appear centered across shared controls. No interaction or navigation behavior changes.
This commit is contained in:
DrSmoothl committed 2026-07-16 22:35:17 +08:00
1 parent 9f212d2f19
commit bdb4fce8b8
8 files changed
+22 -9

No files matched your search

@@ -50,7 +50,9 @@ export function AccountSidebar({
aria-label={collapsed ? '展开账号列表' : '收起账号列表'}
className="text-muted-foreground"
>
{collapsed ? <ChevronRight className="size-4" /> : <ChevronLeft className="size-4" />}
{collapsed
? <ChevronRight className="optical-forward size-4" />
: <ChevronLeft className="optical-back size-4" />}
</Button>
</div>