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

DDFFORM 490 material grid #1136

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

LasseStaus
Copy link
Contributor

@LasseStaus LasseStaus commented Apr 18, 2024

Link to issue

jira: DDFFORM-490

Changes in design system related to this PR: danskernesdigitalebibliotek/dpl-design-system#600

Description

This pr updates the skeleton rendering for the materialgrid, and the use of recommendedMaterialSkeleton as part of that.

This commit tweaks a few things:
- Ensure modifier class is applied to recommenedMaterialSkeletons that are part of grid view, like the non-skeleton component.

- Ensure rendering of the title in the material grids. Before the skeleton would should a skeleton for the title, but since the title is always present if passed to the component, then this is unnessary/incorrect.

- Add __icon class to the icon skeleton to ensure correct position.

DDFFORM-490
@kasperg kasperg assigned LasseStaus and unassigned kasperg, rasben and kasperbirch1 Apr 22, 2024
@LasseStaus LasseStaus force-pushed the DDFFORM-490-material-grid branch from 32e263a to 2871da2 Compare April 22, 2024 06:54
@LasseStaus LasseStaus merged commit bf81918 into release/hermod-sprint-12 Apr 22, 2024
26 checks passed
@LasseStaus LasseStaus deleted the DDFFORM-490-material-grid branch April 22, 2024 07:02
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.

4 participants