ElemeFE / ElemeFE/element

[bug report] in the El form inline state, when the size value is set to small, the El button in the El form item has two pixel position offsets

Open
#19,360 2 comments 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

### Element UI version
2.13.1

### OS/Browsers version
macbook pro 2015 / chrome 81.0.4044.122

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/mablevi/pen/vYNReVy

### Steps to reproduce
查看按钮和input的高度
附:在实际查看中,发现【.el-form-item__content】 有一个font-size: 14px的css属性导致了这个问题。改为font-size: 12px则可以解决此问题。

### What is Expected?
高度一致

### What is actually happening?
高度有2像素的偏差

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.