ElemeFE / ElemeFE/element

About the label problem in el-form-item

Open
#19,161 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

![image](https://user-images.githubusercontent.com/46554013/79087039-bf72c380-7d70-11ea-93d2-e28dfac4482d.png)

I want this label to align with my title, but I find it hard to do

`


Arrival Port Reliability








Download


`

`return {
disableDownload: false,
isLoading: false,
searchCriteria: {
month: '',
},
pickerOptions0: {
disabledDate (time) {
const oneDay = 3600 * 1000 * 24;
return time.getTime() > (Date.now() + oneDay) || time.getTime() < (Date.now() - oneDay * 30 * 11);
}
},
formRules: {
month: [{
required: true,
message: "please pick month",
trigger: "blur"
}]
}
}`

`
.formStyle{
margin-left: 50px;
}
.searchStyle{
margin-left: 70px;
}
`

My style is very simple. I checked the document and found no operation on label in the official example, so normally adding the label-width should automatically align.But why not me

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.