באנר /about חדש נחתך במובייל

סיכום מבוסס בינה מלאכותית

Users reported that the new /about page banner is cut off on mobile devices, particularly on iPhone 13 Pro and Android A14 using Chrome. HamMan2118 first flagged the issue, noting it may be intentional but worth reporting. NateDhaliwal confirmed the issue on Android, suggesting the banner image doesn’t wrap responsively. Heliosurge explained the banner is currently desktop-optimized and shared a CSS workaround for mobile: adjusting width, max-width, margin, and padding. A GitHub PR (Osama) was referenced as a fix, and while NateDhaliwal noted it was “mostly fixed,” Osama confirmed it looked fine on iPhone 15 Pro. After further testing, Osama shared a commit that fully resolved the issue for NateDhaliwal. Finally, NateDhaliwal raised a follow-up question: whether the banner text should be centered on mobile for better alignment. The issue was ultimately addressed via code changes, though design refinement (like text centering) remains open for discussion.

Good morning!

I have noticed on the /about page on mobile (iPhone 13 Pro, Google Chrome, but this shouldn’t make a difference)

This may be by design and is unfixable, however, just putting something here :slight_smile:

3 לייקים

Can reproduce on Android A14, Chrome.
I think the reason is that that is an image, and won’t be able to wrap. Likely not intended.

3 לייקים

The new about banner ATM is more configured for Desktop.

Add this to your mobile CSS in a custom TC.

.about__banner {
  width: calc(120%);
  max-width: 392px;
  margin-left: -0.50em;
  padding-bottom: 0.5em;
}

Topic on new about page here

2 לייקים

This should fix the problem:

https://github.com/discourse/discourse/pull/28692

We may add support for uploading a different image with different dimensions for mobile, but for now the PR above should improve the situation a lot on mobile.

3 לייקים

Hmm… it is mostly fixed, but not fully.

Hmmm it looks ok on my phone (iPhone 15 Pro):

What is your device and browser?

Yeah, looks good for me on iPhone 13 Pro/Chrome

Android A14, Chrome.

לייק 1

@NateDhaliwal the issue you were seeing should now be fixed:

https://github.com/discourse/discourse/commit/c76ff5c994e0d5af04c13cf91fb267f312dce208

3 לייקים

Nice! I was wondering, should the text in the image be centered if on mobile?

לייק 1