ElemeFE / ElemeFE/element

[bug report] how to set different sizes of components according to different screen sizes?

Open
#21,342 1 comment 0 reactions 0 assignees View on GitHub
type: feature request
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.6

### OS/Browsers version
chrome 92

### Vue version
2.6.14

### Steps to reproduce
我目前是全局设置里的组件size,我想根据屏幕大小来动态改变size,有什么好的方案吗?
```js
Vue.use(element, {size: 'small'})
```

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.