Skip to content

[www] Support and improve formatting of narrow-layout banner#13625

Merged
abdallahshaban557 merged 3 commits into
mainfrom
feat/www-mobile-banner
Jul 23, 2026
Merged

[www] Support and improve formatting of narrow-layout banner#13625
abdallahshaban557 merged 3 commits into
mainfrom
feat/www-mobile-banner

Conversation

@parlough

Copy link
Copy Markdown
Member

Updates the banner implementation for the marketing site to support an optional mobileText for when the primary banner is too large to look great on narrow layouts. If it's not specified, the normal text is displayed. This is now documented in the banner.yaml file as well.

Also improves the styling on narrow layouts, centering text and adding horizontal padding.


Banner before change:
Screenshot of the banner in a narrow layout before the change.

Banner after change:
Screenshot of the banner in a narrow layout after the change.

@parlough
parlough requested review from a team and abdallahshaban557 as code owners July 23, 2026 22:58
gemini-code-assist[bot]

This comment was marked as resolved.

@flutter-website-bot

flutter-website-bot commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit fec0288):

https://flutter-docs-prod--docs-pr13625-feat-www-mobile-banner-0yn5cafh.web.app

@flutter-website-bot

flutter-website-bot commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit fec0288):

https://flutter-dev-230821--www-pr13625-feat-www-mobile-banner-wf5j44q5.web.app

@abdallahshaban557 abdallahshaban557 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abdallahshaban557
abdallahshaban557 merged commit 374a2b6 into main Jul 23, 2026
15 checks passed
@abdallahshaban557
abdallahshaban557 deleted the feat/www-mobile-banner branch July 23, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants