ElemeFE / ElemeFE/element

[bug report] carousel cannot set the width of El carousel item

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

Description

### Element UI version
2.15.1

### OS/Browsers version
win10 / chrome版本 90.0.4430.93(正式版本) (64 位)

### Vue version
2.6.12

### Reproduction Link
https://jsfiddle.net/

### Steps to reproduce
项目内修改走马灯 el-carousel-item 宽度时 会出现不居中的情况

### What is Expected?
期待给走马灯 el-carousel-item设置宽度 后仍能在屏幕内保持居中

### What is actually happening?
实际当给走马灯 el-carousel-item 设置宽度后,可能偏左或偏右

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.