Skip to content

Conversation

@mfranzke
Copy link
Member

@mfranzke mfranzke commented Dec 4, 2025

The px-to-rem() and px-to-em() functions returned strings via interpolation (#{...}rem), preventing calculations with their output. Changed to return properly typed values by multiplying the numeric result by 1rem/1em.

adapted from db-ux-design-system/core-web#5570

@mfranzke mfranzke self-assigned this Dec 4, 2025
@mfranzke mfranzke added the bug Something isn't working label Dec 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

🔭🐙🐈 Test this branch here: https://db-ui.github.io/core/review/fix-px-to-rem-function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants