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

pull/2021/head
qingwei.li 2016-12-27 17:28:58 +08:00
parent 2d8fd189ad
commit b3095a703c
7 changed files with 39 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,8 @@
<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,9 +3,6 @@
@component-namespace el {
@b date-editor {
position: relative;
display: inline-block;
.el-picker-panel {
position: absolute;
min-width: 180px;