Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm committed Nov 27, 2023
1 parent e3e42bf commit 581b3b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cndocs/flexbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,9 +848,9 @@ export default AlignContentLayout;

## Flex Wrap

`flexWrap`属性用于设置容器的换行方式,它控制了当子元素超出容器在主轴上的尺寸时会发生什么。默认情况下,子元素被强制放置在一行中(这可能会使元素缩小)。如果允许换行,则项目将根据需要沿主轴分为多行。
`flexWrap`属性用于设置容器的换行方式,它控制了当子元素超出容器在主轴上的尺寸时要如何处理。默认情况下,子元素被强制放置在一行中(这可能会使元素被挤压)。如果允许换行,则项目将根据需要沿主轴分为多行。

在换行时,可以使用`alignContent`来指定如何将这些行放置在容器中。详细信息请参阅[此处](https://yogalayout.com/docs/flex-wrap)
在换行时,可以使用`alignContent`来设置这些行在容器中的排列方式。详细信息请参阅[此处](https://yogalayout.com/docs/flex-wrap)

```SnackPlayer name=Flex%20Wrap
import React, { useState } from "react";
Expand Down

0 comments on commit 581b3b8

Please sign in to comment.