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

Add authority logos at bottom of results #22

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Add authority logos at bottom of results #22

merged 1 commit into from
Sep 27, 2023

Conversation

oyamauchi
Copy link
Member

@oyamauchi oyamauchi commented Sep 26, 2023

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.

Screenshot 2023-09-26 at 3 46 16 PM

## 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.
@vercel
Copy link

vercel bot commented Sep 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
embed-rewiringamerica-org ✅ Ready (Inspect) Visit Preview Sep 26, 2023 7:50pm

export const authorityLogosStyles = css`
.authority-logos {
width: 100%;
max-width: 1280px;
Copy link
Member

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?

Copy link
Member

@RandomEtc RandomEtc left a 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

@RandomEtc
Copy link
Member

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?

@oyamauchi
Copy link
Member Author

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.

@oyamauchi oyamauchi merged commit 488b31f into main Sep 27, 2023
1 check passed
@oyamauchi oyamauchi deleted the owen/logos branch September 27, 2023 14:19
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.

2 participants