-
Notifications
You must be signed in to change notification settings - Fork 29
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
US Expandable Marketing Card component on small screens #12534
Conversation
Size Change: +998 B (+0.11%) Total Size: 905 kB
ℹ️ View Unchanged
|
4591d1f
to
4e1037e
Compare
@@ -573,22 +572,6 @@ export const PictureLayout = (props: WebProps | AppsProps) => { | |||
/> | |||
</ArticleContainer> | |||
</GridItem> | |||
{isWeb && ( |
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.
Picture Layouts aren't well suited to showing this component. We can leave out pages with the Picture Layout from the AB test and still hit sample sizes
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
|
||
@keyframes slidein { | ||
from { | ||
translate: -1200px 0; |
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.
translate: -1200px 0; | |
transform: translate: (-1200px, 0) |
Should these be something like this. https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate
3eea191
to
f5e3d90
Compare
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.
👌
Seen on PROD (merged by @domlander 7 minutes and 49 seconds ago) Please check your changes! |
What does this change?
Displays the US Expandable Marketing component on small screens. This builds on the work to display this component on large screens: #12530.
The component is animated in from the left when the users scrolls past the top of the body.
Why?
So that we can test the effectiveness of this component for US users.
This will only be shown to users if they meet all of the following conditions:
Screenshots
Screen shares
Screen.Recording.2024-10-11.at.16.21.26.mov
Screen.Recording.2024-10-11.at.16.20.15.mov