element icon indicating copy to clipboard operation
element copied to clipboard

unexpected horizontal scroll bar due to <el-row> and <el-col>(在使用<el-row>和<el-col>组件的时候出现了预期以外的横向空间)

Open evagy opened this issue 8 years ago • 1 comments

Element UI version

2.0.8

OS/Browsers version

win7(32bit) / chrome62

Vue version

2.5.2

Reproduction Link

https://codepen.io/YuyangGong/pen/NXxYKe

Steps to reproduce

use <el-row> and <el-col> (使用<el-row>和<el-col>组件) set gutter in <el-row> (在<el-row>中设置了gutter) induce the unexpected horizontal scroll bar, the extra horizontal distance is in direct proportion to the size of gutter (导致了预期以外的横向滚动条, 其额外的横向距离与我所设置的gutter成正比) you can preview this issue in the demo (可以在这个网站浏览问题的demo)

What is Expected?

extra horizontal scroll bar not appear when I set gutter to <el-row>. (当我使用<el-row>,并给其设置gutter的时候不再出现横向滚动条)

What is actually happening?

unexpected horizontal scroll bar appear indeed

evagy avatar Dec 18 '17 14:12 evagy

Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.

element-bot avatar Dec 18 '17 14:12 element-bot