Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ increase width of topic page title on mobile #3820

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Jul 29, 2024

Before:
image

After:
image

@ikesau ikesau marked this pull request as ready for review July 29, 2024 13:41
@ikesau ikesau requested a review from marcelgerber July 29, 2024 13:41
@@ -114,10 +114,10 @@ function OwidArticleHeader({
function OwidTopicPageHeader({ content }: { content: OwidGdocPostContent }) {
return (
<header className="topic-page-header grid span-cols-14 grid-cols-12-full-width">
<h1 className="display-1-semibold col-start-2 span-cols-8">
<h1 className="display-1-semibold col-start-2 span-cols-8 col-sm-start-2 span-sm-cols-12">
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<h1 className="display-1-semibold col-start-2 span-cols-8 col-sm-start-2 span-sm-cols-12">
<h1 className="display-1-semibold col-start-2 span-cols-8 span-sm-cols-12">

I assume we don't need that rule, right?

Copy link
Member

Choose a reason for hiding this comment

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

Okay nvm, I can see now that we actually need it

@owidbot
Copy link
Contributor

owidbot commented Jul 29, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-topic-page-mobile-header-width

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2024-07-29 13:47:09 UTC
Execution time: 1.18 seconds

@ikesau ikesau merged commit 6994890 into master Jul 29, 2024
27 checks passed
@ikesau ikesau deleted the topic-page-mobile-header-width branch July 29, 2024 15:38
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