CSS issue?

Questions and Answers : Web site : CSS issue?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Gary Charpentier Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 30608
Credit: 53,134,872
RAC: 32
United States
Message 1959296 - Posted: 8 Oct 2018, 18:49:13 UTC

Suddenly the display between the Cafe page and the Politics page is different. On Cafe our super long user name is being wrapped, but it is not in Politics. Are both pointing at the same CSS?
ID: 1959296 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1959313 - Posted: 8 Oct 2018, 20:43:45 UTC - in response to Message 1959296.  

One thing I know got fixed, as I reported it, was the column in which our names live: the Send Message box would spill out into the forums when using larger than 'normal' fonts. So David set the column to some dynamic form, so the Send Message box will always be within the confines of the column.
ID: 1959313 · Report as offensive
anniet
Volunteer tester
Avatar

Send message
Joined: 2 Feb 14
Posts: 7105
Credit: 1,577,368
RAC: 75
Zambia
Message 1959344 - Posted: 9 Oct 2018, 0:40:13 UTC
Last modified: 9 Oct 2018, 0:47:24 UTC

I saw this:

[erm... hold on... that went very wrong... it was a screenshot picture 600 pixels wide according to paint, that posted so wide it generated a scroll bar that must have at least quadrupled its width, so I think I won't try doing that again]

when I clicked on the wrong forum link and ended up on the politics board.

It wasn't pretty. But whilst the forum boards are back to normal, loads of threads have become very very wide indeed and as reading them is such a chore,
I think I'll just go to bed instead.
ID: 1959344 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1959378 - Posted: 9 Oct 2018, 7:53:12 UTC

web: fix layout problem with forum tables (#2743)

Forum messages are shown in a table: left column is sender info, right column is the message.

The left column was fixed width (10em).
On very hi-res monitors people increase their font size.
This causes the "Send message" button to overflow the column.

Solution: don't use fixed width, and make the right column 100% width.
This makes the left column wide enough for its contents to fit, but no wider.

This solves the problem, but introduces a (minor) new one:
some users have extremely long user names, and this makes the left column too wide, not just for that post but for the whole thread.

Solution: in this particular place, if name is > 30 chars, show only the first 30 chars followed by ellipsis.

ID: 1959378 · Report as offensive

Questions and Answers : Web site : CSS issue?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.