Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

60%
+1 −0
Q&A Large reputation on phones shrinks the community logo

As a user's reputation increases, it takes up more horizontal space on the header bar of each page. On desktop there is plenty of empty space so this makes little difference. However, on a phone sc...

0 answers  ·  posted 2y ago by trichoplax‭

Question bug reputation
#1: Initial revision by user avatar trichoplax‭ · 2023-02-10T00:03:06Z (almost 2 years ago)
Large reputation on phones shrinks the community logo
As a user's reputation increases, it takes up more horizontal space on the header bar of each page. On desktop there is plenty of empty space so this makes little difference. However, on a phone screen in portrait mode each new digit leaves less space for the rest of the header bar. Currently this causes the community logo to shrink a little with each new digit.

![Header bar with 1 digit reputation](https://meta.codidact.com/uploads/i2sonf4vvlg9v6d02bclvmpe3k26)
![Header bar with 2 digit reputation](https://meta.codidact.com/uploads/c0ooki71loxrbpbzerwsw8x3wfd5)
![Header bar with 3 digit reputation](https://meta.codidact.com/uploads/idy90ev43yo17fsavl0uzwk4k9dh)
![Header bar with 4 digit reputation](https://meta.codidact.com/uploads/utj9c2iyqb5qommw71t7rslcwv65)
![Header bar with 5 digit reputation](https://meta.codidact.com/uploads/2x8jykw8uoxsom389js12ta4qbtw)

This can probably be fixed with some formatting adjustments at present, since the highest reputation on any community is still 5 digits, which would leave just enough room for the logo if the shrinking were to be prevented. However, at some point reputations will reach 6 digits, which will make them difficult to fit into the current header bar.

I see two possibilities:
- Change the styling of the header bar to prevent shrinking of the logo (temporary measure while the top rep is still 5 digits)
- For longer term, consider abbreviated numbers for higher reputation values:
  - 2k instead of 2345
  - 34k instead of 34567
  - 456k instead of 456789
  - 1m instead of 1234567?

The abbreviated numbers could be sensitive to the current device, so that full numbers show on desktop and only portrait mode mobile devices show the abbreviations. If so the desktop version might benefit from digit separators as the numbers get longer, such as 1,234,567.

What do you think about these possible approaches? Are there problems? Are there better approaches?