-
Notifications
You must be signed in to change notification settings - Fork 116
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(website): update calculations for percentages #4175
Conversation
Run & review this pull request in StackBlitz Codeflow. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: d341538 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit d341538. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
Size Change: +26 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d341538:
|
Paste Run #9121
Run Properties:
|
Project |
Paste
|
Branch Review |
fix-size-calculation
|
Run status |
Passed #9121
|
Run duration | 02m 04s |
Commit |
d3415384f3: Merge branch 'main' into fix-size-calculation
|
Committer | kodiakhq[bot] |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
67
|
View all changes introduced in this branch ↗︎ |
const remValue = Number(value.replace("rem", "").trim()); | ||
let remValue; | ||
|
||
if (value.includes("%")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 👏
Paste Run #9120
Run Properties:
|
Project |
Paste
|
Branch Review |
fix-size-calculation
|
Run status |
Passed #9120
|
Run duration | 06m 01s |
Commit |
8806f34d9e ℹ️: Merge d3415384f384130b90c1597a3bd1976d2cc88e2e into 077d397e4c9e2991466b78ee7ed0...
|
Committer | krisantrobus |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
125
|
View all changes introduced in this branch ↗︎ |
Resolve an issue where percentages were not being converted correctly to pixel values.
For engineering, I also made changes to vs-code plugin. Saw the calculation was there. The tests were not running os I had to update dependencies and refactor some code but I got them back up and passing.
Before:
After: