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

Adjust margin for multi select tiles #34025

Merged
merged 7 commits into from
Jan 31, 2024
Merged

Conversation

MartinRiese
Copy link
Contributor

@MartinRiese MartinRiese commented Jan 24, 2024

Product Description

Adjust the margins on multi select case tiles so they are more centered.
Before:
image

After:
image

Technical Summary

https://dimagi-dev.atlassian.net/browse/USH-4108

Feature Flag

  • REC/USH: Case tile templates
  • or USH: Configure custom case list tile

Safety Assurance

Safety story

Visual change only. Tested locally and on staging

Automated test coverage

No

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@dimagimon dimagimon added the Risk: Medium Change affects files that have been flagged as medium risk. label Jan 24, 2024
@MartinRiese MartinRiese marked this pull request as ready for review January 26, 2024 15:22
@MartinRiese MartinRiese requested review from nospame and Jtang-1 and removed request for orangejenny January 26, 2024 15:22
Comment on lines 292 to 294
<% if (model.isMultiSelect) { %>
margin: 10px 30px 0 10px;
<% } %>
Copy link
Contributor

@nospame nospame Jan 30, 2024

Choose a reason for hiding this comment

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

Is it intentional that this change (replacing padding: 10px 20px 0 20px;) would remove the previously applied padding any time it's not multi-select?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch I missed that. Added an else but change it to margin

@MartinRiese MartinRiese merged commit 31a0a92 into master Jan 31, 2024
13 checks passed
@MartinRiese MartinRiese deleted the riese/multi-select-margin branch January 31, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Risk: Medium Change affects files that have been flagged as medium risk.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants