chapel
(Jacob Chapel)
2015 年2 月 16 日 01:17
1
I’ve tracked down the change that causes the issue, not sure why it was changed here:
https://github.com/discourse/discourse/commit/246f77c98d48df011a2e80ae5d33bee1104b6366
I tested it on my install, reverting the above change, using the overage
variable like it was before, causes the user card to display properly.
My question for @sam is why change it?
PR for fix:
https://github.com/discourse/discourse/pull/3205
1 个赞
sam
(Sam Saffron)
2015 年2 月 16 日 01:19
2
It was rendering offscreen in certain browser widths afaik.
chapel
(Jacob Chapel)
2015 年2 月 16 日 01:20
3
That makes sense, as to why the original solution wouldn’t work. Though what you changed it to definitely didn’t fix the issue.
Do you know what browsers it was having trouble with? I can modify my fix to accommodate those browsers.
sam
(Sam Saffron)
2015 年2 月 16 日 01:24
4
Can you test this on a site with a custome header like https://discuss.howtogeek.com/ at various widths. I think chrome exhibited the issue at very particular widths.
chapel
(Jacob Chapel)
2015 年2 月 16 日 01:38
5
Current behavior
Using overage
Window width: 854px (was lowest width to have multiple users in users column)
chapel
(Jacob Chapel)
2015 年2 月 16 日 01:41
6
I also tested in Firefox and Safari and the behavior was consistent, for what it’s worth.
sam
(Sam Saffron)
2015 年2 月 16 日 01:41
7
I will pull this in and keep an eye on it, thanks!
1 个赞
chapel
(Jacob Chapel)
2015 年2 月 16 日 01:44
8
As an FYI, I found the issue after adding the user card markup to the last poster info on my version of the minimal theme. Since the last poster is on the far right, it was always going over the edge.
1 个赞
Wow - damn - there’s a bloody big picture of me.
That was unexpected!
1 个赞
Reminds me of the poster I have in my bedroom
10 个赞
Here’s one of @codinghorror and @sam talking
10 个赞
sam
(Sam Saffron)
2015 年2 月 16 日 02:42
12
This topic was automatically closed after 61 minutes. New replies are no longer allowed.
1 个赞