Merge pull request #2021 from QingWei-Li/fix/datepicker-editor

DatePicker: input display style changes to block, fixed #2018
This commit is contained in:
baiyaaaaa 2016-12-28 14:12:23 +08:00 committed by GitHub
commit 436c38fee6
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;