Skip to content

fix: round fractional height values in resolveDimensions - #316

Merged
anurag629 merged 1 commit into
codercops:devfrom
anurag2787:fix/fractional-height
Oct 30, 2026
Merged

anurag629 merged 1 commit into
codercops:devfrom
anurag2787:fix/fractional-height

Conversation

@anurag2787

@anurag2787 anurag2787 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixed resolveDimensions to round height values to the nearest integer, consistent with width handling

Closes #313

How I Tested This

Ran npm run check and npm run test

AI Assistance

ChatGPT was used to help with the implementation and tests

Type of Change

  • Bug fix
  • New template
  • New feature
  • Documentation
  • Tests
  • Refactoring
  • Performance improvement
  • Other (describe below)

Checklist

  • This PR targets dev
  • I was assigned the linked issue
  • npm run check passes
  • npm run test passes
  • For a bug fix: the new test fails without my change
  • Tested locally with npm run dev
  • Screenshots included for visual changes
  • New templates follow the Template Guidelines

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>
@anurag2787

Copy link
Copy Markdown
Contributor Author

Hi @anurag629 could you please review and let me know if any changes required
Thanks!

@anurag629 anurag629 added the hacktoberfest-accepted PR counts for Hacktoberfest label Oct 30, 2026
@anurag629
anurag629 merged commit 177f6be into codercops:dev Oct 30, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted PR counts for Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Fractional height values are not rounded in resolveDimensions

2 participants