element [Feature Request] Can el-col support auto-layout columns (auto sizing)?

ttcibm8c  于 2022-11-13  发布在  其他
关注(0)|答案(1)|浏览(143)

Existing Component

Yes

Component Name

el-col

Description

Would it be possible to add support for el-col to...

  • support 'auto' column size, where the size of the column matches the natural size of the content (wraps content)
  • support setting no explicit column size, in which case the column fills the remaining available space of the row.

Both requests can be achieved by mainly tweaking the flexbox css styling of columns.
The requested options are available in Bootstrap too, and are briljant tools when creating layouts (see https://getbootstrap.com/docs/4.4/layout/grid/#auto-layout-columns for some examples)

qltillow

qltillow1#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题