Skip to content

Conversation

@dlescarbeau
Copy link
Collaborator

@dlescarbeau dlescarbeau commented Jul 18, 2024

  • digital platform ticket

Closes #4383

NO MERGE

@github-actions
Copy link

@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch 3 times, most recently from c48bfbc to 373a6a9 Compare July 19, 2024 15:39
@monika-jaeger
Copy link
Contributor

At 879 width and below, the cards start to have varying heights depending on how long the content is.
Screenshot 2024-07-19 at 12 43 50 PM

@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch from 373a6a9 to 9c60bc2 Compare July 22, 2024 14:47
@blilianyu
Copy link
Contributor

blilianyu commented Jul 22, 2024

On mobile large 480 and down when it stacks, can we increase the spacing from 16px to 24px to be consistent with our feature card stacking?

Screenshot 2024-07-22 at 11 32 30 AM

And on desktop the spacing between rows, increase from 16px to 32px.
Screenshot 2024-07-22 at 11 35 18 AM

@adrianacastaneda
Copy link

@dlescarbeau not for the first imageless card but for the other groups of imageless cards, these needs titles (which will optional later on). Thank you!

@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch from 9c60bc2 to 8070ecb Compare July 22, 2024 15:38
}
}

.imageless-card-group {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(My bad, I figured prototyping implied it wasn't getting merged or something to that effect and it could be kinda WIPish)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wanna make sure the copy pasta will be correct when the time comes

@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch 5 times, most recently from 65ea50d to 893d581 Compare July 23, 2024 16:50
@blilianyu
Copy link
Contributor

@dlescarbeau spacing updates look great, thank you!

@monika-jaeger
Copy link
Contributor

Also looks better to me!

@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch 5 times, most recently from 6f3bbc1 to e1f75ad Compare July 31, 2024 17:44
}

.nci-imageless-card-group {
.nci-heading-h2 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this only ever be a styled with nci-heading-h2? I don't particularly trust that. Ideally, we would do something like .nci-imageless-card-group .nci-imageless-card-group__heading here and extend the default h2 styling with the extra margins. That is closer to how USWDS would design the element.

@forward "uswds-utilities";
@forward "usa-layout-grid";
@forward "usa-prose";
@forward "nci-heading";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this after adjusting the note from above.

@andyvanavery31
Copy link

@dlescarbeau can you please update the second to last example to be a 2 card row, with 5 cards, so there are 3 total rows, the first two rows have two cards each, and the last row has one card?

@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch 5 times, most recently from 107bdc7 to 0c0d396 Compare August 5, 2024 15:36
@andyvanavery31 andyvanavery31 requested a review from a team August 6, 2024 16:24
Copy link

@andyvanavery31 andyvanavery31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by Product and Client.

@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch from 0c0d396 to 8ede300 Compare August 12, 2024 14:33
@olitharp-nci olitharp-nci added the On Hold Item that will not currently be worked on label Aug 12, 2024
- digital platform ticket

Closes #4383
@dlescarbeau dlescarbeau force-pushed the ticket/4383-imageless-card-prototype branch from 8ede300 to 455f66f Compare August 20, 2024 16:13
@dlescarbeau
Copy link
Collaborator Author

@laurelthrash updated with usa-section rather than <hr/> for separating the groups of cards.
imageless-card-html.txt
imageless-card-scss.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

On Hold Item that will not currently be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Story: Create Production Prototype of Imageless Card for MLP

7 participants