-
Notifications
You must be signed in to change notification settings - Fork 56
[Page] Update: Adjust SPX tutorial page text and color #3169
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
base: ui
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ | |
| "id": "ong2L", | ||
| "type": "ref", | ||
| "ref": "P:WiWwa", | ||
| "x": 0.0001975079347187812, | ||
| "x": 0.00018589109107464467, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: Sub-pixel x-offset is floating-point noise. Both the old value ( |
||
| "y": 0, | ||
| "children": [ | ||
| { | ||
|
|
@@ -121,14 +121,14 @@ | |
| "ref": "P:OHwu4", | ||
| "x": 0.07806559948336479, | ||
| "y": 0, | ||
| "content": "All Tutorials" | ||
| "content": "hrllo" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical: Typo in user-facing heading text.
|
||
| }, | ||
| { | ||
| "type": "frame", | ||
| "id": "ahdiv", | ||
| "name": "Course container", | ||
| "clip": true, | ||
| "width": 988, | ||
| "width": 987.9219405682865, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor: Fractional width is inconsistent with child frames.
|
||
| "fill": "$P:grey100", | ||
| "layout": "vertical", | ||
| "gap": "$P:space-5", | ||
|
|
@@ -154,7 +154,12 @@ | |
| { | ||
| "id": "gqB7m", | ||
| "type": "ref", | ||
| "ref": "P:XzIf9" | ||
| "ref": "P:XzIf9", | ||
| "descendants": { | ||
| "P:W0vhG5": { | ||
| "fill": "$P:blue600" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
|
|
||
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.
The coordinate value
0.00018589109107464467is extremely precise and practically zero. Consider using an integer like0to improve readability and avoid potential floating-point precision issues in layout calculations.