Improve mobile website#9304
Merged
PascalSenn merged 6 commits intomainfrom Mar 5, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR focuses on improving the website’s mobile experience and Lighthouse scores by adjusting typography semantics, touch target sizing, and responsive layouts across several UI components.
Changes:
- Increase tap target sizes (44px min) for interactive controls (pagination, article menu, newsletter social links, dialog buttons).
- Improve mobile responsiveness for key sections (plans layout, community section layout/overflow, content section sizing).
- Adjust typography/semantics (heading levels, code block font sizing, article text alignment).
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/style/prism-theme.css | Adjusts Prism code font sizing. |
| website/src/page-components/products/nitro.tsx | Updates feature card heading levels; tweaks download link text opacity. |
| website/src/page-components/platform/ecosystem.tsx | Updates feature card heading levels. |
| website/src/page-components/index.tsx | Adds an explicit viewBox attribute to the Fusion SVG component. |
| website/src/components/widgets/newsletter-section.tsx | Updates headings and increases social link tap targets. |
| website/src/components/widgets/community-section.tsx | Mobile layout/overflow adjustments and grid layout for stats. |
| website/src/components/misc/plan.tsx | Makes plans grid responsive for mobile and adjusts borders/separators. |
| website/src/components/misc/pagination.tsx | Increases pagination link tap targets. |
| website/src/components/misc/dialog.tsx | Adjusts z-index and button sizing for mobile usability. |
| website/src/components/misc/content-section.tsx | Ensures the visible area spans full width. |
| website/src/components/articles/responsive-article-menu.tsx | Increases button tap targets via padding/min-height. |
| website/src/components/article-elements.tsx | Changes article paragraph/list alignment to left. |
Comments suppressed due to low confidence (2)
website/src/components/misc/dialog.tsx:11
display: visibleis not a valid value for the CSSdisplayproperty, so the dialog’s visibility behavior will rely on fallback/default styles and may not toggle reliably. Use a valid display value when$showis true (e.g.,block/flex) or switch tovisibility/opacityif the intent is to keep layout while hiding.
z-index: 20;
width: 100vw;
background-color: #aba0ff;
display: ${({ $show }) => ($show ? "visible" : "none")};
`;
website/src/components/widgets/newsletter-section.tsx:153
NewsletterTitlewas changed fromh3toh2. In this codebase, globalh2styling is significantly larger on desktop (4rem at ≥992px), which may cause the title to overflow its box or dominate the section visually. If the semantic change is needed, consider applying a local font-size override for this heading to keep the layout stable.
const NewsletterTitle = styled.h2`
flex: 0 0 auto;
margin-bottom: 24px;
@media only screen and (min-width: 992px) {
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This was referenced May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
13/13 pages scoring 100/100/100/100 on mobile Lighthouse. The fixes applied in this session: