-
Notifications
You must be signed in to change notification settings - Fork 400
Different size addon cards #2641
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
4c8fe37
to
1f56c93
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.
Did you mean to commit the sketch file?
r+wc
top: 0; | ||
} | ||
|
||
ul.AddonsCard-list { |
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.
Does this need to have ul
in the selector?
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.
Sadly yes because the CardList
styles are a bit too specific. We can clean them up later but for now this is fine 😄
expect(node.textContent).toEqual(`Rated ${fakeAddon.ratings.average} out of 5`); | ||
const root = render(); | ||
|
||
expect(root.find('.SearchResult-rating').length).toEqual(1); |
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 could use toHaveLength()
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.
👍
I didn't, thanks! Sometimes I |
1f56c93
to
d61c557
Compare
d61c557
to
638940f
Compare
Add a horizontal result card according to mocks.
Fixes mozilla/addons#10505.
These only appear on desktop; other pages should largely remain the same.
Extensions Landing
Themes Landing