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:
8 files changed
+22
-9
No files matched your search
@@ -119,7 +119,7 @@ export function MessageComposer({ accounts }: { accounts: QQInfo[] }) {
|
||||
|
||||
<button type="button" onClick={send} disabled={sending} data-press-scale=""
|
||||
className="inline-flex h-11 items-center justify-center gap-2 rounded-xl bg-primary text-[15px] font-medium text-primary-foreground shadow-sm transition-[background-color,opacity,scale] duration-150 ease-out hover:bg-primary/90 active:not-disabled:scale-[0.96] motion-reduce:active:scale-100 disabled:opacity-50">
|
||||
{sending ? <Loader2 className="h-4 w-4 animate-spin" /> : <Send className="h-4 w-4" />} 发送{hasNodes(segs) ? '(合并转发)' : ''}
|
||||
{sending ? <Loader2 className="h-4 w-4 animate-spin" /> : <Send className="optical-forward h-4 w-4" />} 发送{hasNodes(segs) ? '(合并转发)' : ''}
|
||||
</button>
|
||||
</motion.section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user