Skip to content

Feature: LayoutGird and alignment props stretch

Compare
Choose a tag to compare
@LeeBoYin LeeBoYin released this 29 Oct 03:38
· 13 commits to master since this release

What's Changed

  • feat: add LayoutGrid component
  • feat: add stretch to verticalAlign and horizontalAlign props (except for horizontalAlign of LayoutListInline), meanwhile default is removed. Now, the default value of verticalAlign is always top and that of horizontalAlign is always stretch. Notice that some alignment may need fix when this version is applied.
  • feat: add isRemainScrollable props to LayoutFlexRow and LayoutFlexColumn. Set isRemainScrollable as true when the content overflow and a scrollbar is required. e.g. Modal
  • fix: LayoutFlexColumn has wrong height in Safari when it is placed in a .layout-u-content-fill-height element.