Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

docs: Adds note about default unit for fxFlex if none given #780

Merged
Merged
Changes from all commits
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
1 change: 1 addition & 0 deletions docs/documentation/fxFlex-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ The **flex-basis** values can be pixels, percentages, calcs, em, vw, vh, or know
* `fxFlex="102px"`
* `fxFlex="auto"`

If no unit is specified it defaults to percentages (e.g. `fxFlex="50"` => `flex: 1 1 50%`).

Flex-basis **aliases** are accepted shorthand terms used to quickly specify Flexbox stylings. Here are the industry
mappings of the alias to its resulting CSS styling:
Expand Down