-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add authority logos at bottom of results #22
Conversation
## Description This isn't 100% exactly as designed. The design calls for a white background that extends horizontally beyond the borders of the incentive grid. That doesn't work with how this embed element is implemented: it just fills 100% of the width of its container, so nothing can extend beyond the grid boundaries. Not sure if what I've done is an acceptable end state, or if we need to build in a way to limit the width of the incentive grid without limiting the width of the logos background. ## Test Plan See screenshot. Try with different utility selections to make sure their logos come up. Check narrow and medium layouts to check for appropriate layout.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
export const authorityLogosStyles = css` | ||
.authority-logos { | ||
width: 100%; | ||
max-width: 1280px; |
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.
We should probably have a variable for this and ensure we're doing maximum widths consistently on all the elements?
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.
LGTM. Passing remark on CSS can be rolled forward into discussion about Tailwind or whatever. I made a ticket for that here: https://app.asana.com/0/1205057814651000/1205587645865467/f
Design wise, let's flag this with Spenser. I think it's a good callout that this might not work great in an embed context. Perhaps we should use a card container like the form? |
Yeah, I'm OK with deferring a solution to this, at least until Spenser is back. I think it doesn't look egregious as-is. |
Description
This isn't 100% exactly as designed. The design calls for a white
background that extends horizontally beyond the borders of the
incentive grid. That doesn't work with how this embed element is
implemented: it just fills 100% of the width of its container, so
nothing can extend beyond the grid boundaries. Not sure if what I've
done is an acceptable end state, or if we need to build in a way to
limit the width of the incentive grid without limiting the width of
the logos background.
Test Plan
See screenshot. Try with different utility selections to make sure
their logos come up. Check narrow and medium layouts to check for
appropriate layout.