הפוך את התקדמות הנושא בתצוגה ניידת להשתמש במספרים ברוחב קבוע

It’s just a tiny bit, but the uneven width of the numbers will cause the admin menu button on the left to bounce around when you scroll down (although it’s only a few pixels, but sometimes it catches my attention unexpectedly).

Perhaps using a monospaced font would improve the experience. :slightly_smiling_face:

5 לייקים

הצעה טובה! אני לא חושב שנצטרך בהכרח לשנות את הגופן… נוכל לחילופין לוודא שהקונטיינר של המספרים תמיד רחב יותר מהתוכן כך שיהיה להם “שטח חוצץ” להתרחב מבלי להזיז את הפריסה.

4 לייקים

I just played around a bit with padding and ch units but nothing is really perfect. I think the monospace font idea is the better bet, but our current jetbrains one does look a bit off to me:

We could use ch units, but then for example 4ch will work up until 9/XX, 5ch will work till 99/XX and 6ch would cover almost everything (up to XX/100) but then it might get quite spacious for no reason most of the time?

Anyway maybe for now, I’ll implement the 6ch min-width, which should improve most topics.

Edit: UX: improve progress styling on mobile by chapoi · Pull Request #34886 · discourse/discourse · GitHub

נושא זה נסגר אוטומטית לאחר 5 ימים. לא ניתן להוסיף תגובות חדשות.