Skip to content
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

Add Column Start and Row Start controls to Grid children #59483

Merged
merged 16 commits into from
Mar 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add max to column/row inputs
  • Loading branch information
noisysocks committed Mar 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 44b5ce45f812b49ae54bdd150d395c3b06f1aa7e
Original file line number Diff line number Diff line change
@@ -130,6 +130,7 @@ export default function ChildLayoutControl( {
} }
value={ columnStart }
min={ 1 }
max={ parentLayout?.columnCount }
/>
<InputControl
size={ '__unstable-large' }
@@ -145,6 +146,7 @@ export default function ChildLayoutControl( {
} }
value={ rowStart }
min={ 1 }
max={ parentLayout?.columnCount }
/>
</HStack>
<HStack>
@@ -162,6 +164,7 @@ export default function ChildLayoutControl( {
} }
value={ columnSpan }
min={ 1 }
max={ parentLayout?.columnCount }
/>
<InputControl
size={ '__unstable-large' }
@@ -177,6 +180,7 @@ export default function ChildLayoutControl( {
} }
value={ rowSpan }
min={ 1 }
max={ parentLayout?.columnCount }
/>
</HStack>
</>
Loading