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

Document FlexBox gap parameter #6616

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Document FlexBox gap parameter #6616

merged 1 commit into from
Apr 1, 2024

Conversation

MarcSkovMadsen
Copy link
Collaborator

@MarcSkovMadsen MarcSkovMadsen commented Mar 29, 2024

In #6354 @OSuwaidi added the gap parameter to the FlexBox. But no body would ever know as this is not documented in the reference docs. This PR adds the missing documentation.

I took the opportunity to also improve the references between FlexBox docs.

@@ -26,6 +26,7 @@
"* **``align_items``** (str): Defines the default behavior for how flex items are laid out along the cross axis on the current line. Same options as `align_content`.\n",
"* **``flex_direction``** (str): This establishes the main-axis, thus defining the direction flex items are placed in the flex container. One of 'row', 'row-reverse', 'column', 'column-reverse'.\n",
"* **``flex_wrap``** (str): Whether and how to wrap items in the flex container. One of 'nowrap', 'wrap', 'wrap-reverse'.\n",
"* **``gap``** (str): Defines the spacing between flex items, supporting various units (px, em, rem, %, vw/vh)\n",
Copy link
Collaborator Author

@MarcSkovMadsen MarcSkovMadsen Mar 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the core of the PR. What was missing.

An example would also have been nice. But I don't plan to contribute this.

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.94%. Comparing base (9bfff01) to head (59ccca8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6616      +/-   ##
==========================================
+ Coverage   82.90%   82.94%   +0.03%     
==========================================
  Files         313      313              
  Lines       46090    46090              
==========================================
+ Hits        38210    38228      +18     
+ Misses       7880     7862      -18     
Flag Coverage Δ
ui-tests 40.03% <100.00%> (ø)
unitexamples-tests 71.23% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@philippjfr philippjfr merged commit 3079c49 into main Apr 1, 2024
13 of 15 checks passed
@philippjfr philippjfr deleted the fix/document-flexbox-gap branch April 1, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants