Repository navigation
Conversation
commit: |
|
Size Increased — +1.4 KB 130.9 KB unpacked |
Collaborator
Author
rauhryan
marked this pull request as ready for review
July 15, 2026 15:11
Collaborator
Author
|
Note: this revealed two issues
|
cowboyd
marked this pull request as draft
July 29, 2026 18:32
# Conflicts: # src/clayterm.c
Contributor
Changeset suggestionThis PR changes published packages but has no changeset. View the proposed changeset---
---
Adds `layout.alignSelf` and `stretch()` for per-child cross-axis alignment in flex layouts.
`layout.alignSelf` accepts `auto`, `normal`, `stretch`, `center`, `start`, `end`, `flex-start`, and `flex-end`. `auto` (the default) inherits the parent's cross-axis alignment unchanged. `stretch` and `normal` expand auto-like cross sizes to fill the parent's content box; definite sizes (`fixed()`, `percent()`) remain definite. The new `stretch()` sizing helper explicitly fills the cross axis and can be used on either dimension independently of `alignSelf`.
Floating elements and root elements ignore `alignSelf`.If this draft is correct, react with 🚀 and Cooper will commit it to this branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Adds a slop spike to explore expanding flex sizing options
Closes #70
Closes #71
Type of change
Checklist
pnpm test)pnpm format)AI-generated code disclosure