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 #600

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

LasseStaus
Copy link
Contributor

@LasseStaus LasseStaus commented Apr 18, 2024

Link to issue

jira: DDFFORM-490

Changes in React related to this PR: danskernesdigitalebibliotek/dpl-react#1136

Description

This pr aims to address inconsistent layout before, during and after rendering a material grid consisting of multiple recommendedMaterial components.

Please do test this thoroughly by creating material grids in the CMS with the updated design system and react repo.

The issue was found on IOS devices, using safari browers, so make you also test that.

  • The title should always be rendered now, meaning no skeleton is necessary for that.
  • Another effect of these changes, is that the cover used in the recommended-material is now larger. I see this as an improvement in general, but consider if there is an issue with this. Difference can be seen in the chromatic changes.

If you find any errors, please consider how they can be corrected.

Screenshot of the result

The issue before:
image

How it should look now generally on every device / browser.
image

@LasseStaus LasseStaus changed the base branch from develop to release/hermod-sprint-12 April 18, 2024 16:27
These changes aim to:
- Ensure that the individual recommended-materials in the grid, will "fill out" their respective part of the grid.

- Skeletons / non-skeletons should be equally large.

- That the content will not jump depending on the cover image frame.

DDFFORM-490
@LasseStaus LasseStaus force-pushed the DDFFORM-490-material-grid branch from cf36ac3 to bf57224 Compare April 19, 2024 13:05
Copy link
Contributor

@kasperg kasperg left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@LasseStaus LasseStaus merged commit 0a123f7 into release/hermod-sprint-12 Apr 19, 2024
8 checks passed
@LasseStaus LasseStaus deleted the DDFFORM-490-material-grid branch April 19, 2024 14:50
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