ElemeFE / ElemeFE/element

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

Open
#18,760 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### 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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.