When One Label Cannot Serve Both Desktop and Mobile
Field Note #157
🔬 Confirmed🟢 Beginner⏱ 30 Minutes✓ Observation from Experience
The situation A component needed different wording depending on the available screen width. The desktop presentation could use a longer descriptive label, while the mobile presentation benefited from a shorter label that fit the constrained layout.
Investigation Trying to force one text label to work everywhere can create awkward wrapping, excessive width, or unnecessary compromises in the design. The ZU2B trust-badge implementation uses separate desktop and mobile label elements and controls their visibility through responsive CSS.
The fix Create two presentation variants when the content genuinely needs different wording: – A desktop label for the wider layout. – A mobile label for the constrained layout. Use responsive CSS to show the appropriate version at each breakpoint.
Troubleshooting lesson Responsive design can change **content presentation**, not just dimensions. If the same phrase is clear on desktop but becomes cumbersome on mobile, a dedicated mobile wording variant can be cleaner than forcing the desktop text into a smaller space.
Caution Do not duplicate content merely because CSS can hide one version. Use separate variants when there is a real presentation or usability reason.