Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 310 Bytes

layout-margin.md

File metadata and controls

11 lines (10 loc) · 310 Bytes
<View className="bg-black">
  <ClLayout margin="normal" marginDirection="around">
    <View className="bg-red" style={{ height: "100%", width: "100%" }}>
      上下左右内容是 margin 的距离,由于没有
      padding,所以内部整体并没有撑开
    </View>
  </ClLayout>
</View>