Commit b3095a70 authored by qingwei.li's avatar qingwei.li

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

parent 2d8fd189
<style>
.demo-date-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {
......
<style>
.demo-datetime-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {
......
<style>
.demo-time-picker .el-input {
width: 180px;
display: inline-block;
}
</style>
## TimePicker
Use Time Picker for time input.
......
<style>
.demo-date-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {
......
<style>
.demo-datetime-picker .el-input {
width: 180px;
margin: auto;
}
</style>
<script>
module.exports = {
data() {
......
<style>
.demo-time-picker .el-input {
width: 180px;
display: inline-block;
}
.demo-box {
.el-date-editor + .el-date-editor {
margin-left: 10px;
......
......@@ -3,9 +3,6 @@
@component-namespace el {
@b date-editor {
position: relative;
display: inline-block;
.el-picker-panel {
position: absolute;
min-width: 180px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment