- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
Change breakpoint for page title #3468
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
Conversation
| 🟢 This pull request modifies 2 files and might impact 3 other files. Details:All files potentially affected (total: 3)🎨  | 
| import type {ThumbnailProps} from '../../../../../Thumbnail'; | ||
| import {classNames} from '../../../../../../utilities/css'; | ||
| import {useFeatures} from '../../../../../../utilities/features'; | ||
| import {useMediaQuery} from '../../../../../../utilities/media-query'; | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hook allows React to change when the mobile menu icon shows. In this case we do not want to change the font size on this breakpoint, we want to change it on the smallest breakpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Yeah that is expected, before we had three title sizes and there should only be two. Thanks @francinen ✨ | 

WHY are these changes introduced?
This is a part of https://github.com/Shopify/polaris-rails/issues/2182
WHAT is this pull request doing?
Changes the fontsize and breakpoints for the page title in the new design language.
🎩 checklist
README.mdwith documentation changes