Revert "DatePicker: input display style changes to block, fixed #2018"

This reverts commit b3095a703c.
This commit is contained in:
baiyaaaaa 2016-12-28 14:51:07 +08:00 committed by 杨奕
parent 8323789387
commit 7eb8a19fb3
7 changed files with 3 additions and 39 deletions

View File

@ -1,10 +1,3 @@
<style>
.demo-date-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {

View File

@ -1,10 +1,3 @@
<style>
.demo-datetime-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {

View File

@ -1,10 +1,3 @@
<style>
.demo-time-picker .el-input {
width: 180px;
display: inline-block;
}
</style>
## TimePicker
Use Time Picker for time input.

View File

@ -1,10 +1,3 @@
<style>
.demo-date-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {

View File

@ -1,10 +1,3 @@
<style>
.demo-datetime-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {

View File

@ -1,8 +1,4 @@
<style>
.demo-time-picker .el-input {
width: 180px;
display: inline-block;
}
.demo-box {
.el-date-editor + .el-date-editor {
margin-left: 10px;

View File

@ -3,6 +3,9 @@
@component-namespace el {
@b date-editor {
position: relative;
display: inline-block;
.el-picker-panel {
position: absolute;
min-width: 180px;