rpx

You might say

Why does the same button size look wider on another phone?

A relative size unit converted according to a mini program page’s widthWhen page width is 375px, 600rpx is 300px; at 450px it is 360px. Both occupy 80% of page width. Relative sizing does not automatically reflow columns or prevent long text from overflowing.
responsive pixel

Send this to the AI Agent in your project

Ready to paste into Cursor, Claude Code, or Codex
Structured AI Agent prompt

Set this mini program booking button to 600rpx, retaining centering and its label. At page widths of 375px and 450px it should occupy about 80%. Check long labels and landscape too; fix the layout if content overflows or grows too large instead of merely shrinking text.

Want your Agent to translate plain-language UI ideas automatically?Install free VibeHub Skill →
Further reading