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

fix: Make fractions in the ingredient list look a tiny bit nicer #3725

Merged
merged 11 commits into from
Jun 13, 2024

Conversation

bartkummel
Copy link
Contributor

@bartkummel bartkummel commented Jun 11, 2024

Make fractions in the ingredient list look a tiny bit nicer by making the spacing a bit more tight.

What type of PR is this?

(REQUIRED)

  • feature

What this PR does / why we need it:

(REQUIRED)

The goal of this PR is to make fractions in the ingredient list look a bit nicer. Only one file is changed:

  • frontend/components/Domain/Recipe/RecipeIngredientListItem.vue: Added a CSS class to the quantity part of the ingredient item, and added some CSS to make the spacing in and around the fraction a bit tighter.

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #3724

Screenshots

Before

Scherm­afbeelding 2024-06-12 om 17 08 35

After

Scherm­afbeelding 2024-06-12 om 17 07 48

@michael-genson
Copy link
Collaborator

Would you be able to post some screenshots of before and after? I see a couple in the discussion, but a few more here would be nice. Also, can you show how this affects decimals/whole numbers? (if at all)

Awaiting approval of feature request #3724

You can just mark this as ready (assuming it's ready)

Copy link
Collaborator

@michael-genson michael-genson left a comment

Choose a reason for hiding this comment

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

LGTM. Small change to make the change consistent across pages

@bartkummel bartkummel marked this pull request as ready for review June 12, 2024 17:00
Copy link
Collaborator

@michael-genson michael-genson left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@michael-genson michael-genson enabled auto-merge (squash) June 13, 2024 12:57
@michael-genson michael-genson merged commit 9f7d74a into mealie-recipes:mealie-next Jun 13, 2024
11 checks passed
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.

None yet

2 participants