mirror of https://github.com/ElemeFE/element
DatePicker: input display style changes to block, fixed #2018
parent
2d8fd189ad
commit
b3095a703c
|
@ -1,3 +1,10 @@
|
||||||
|
<style>
|
||||||
|
.demo-date-picker .el-input {
|
||||||
|
width: 180px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
<style>
|
||||||
|
.demo-datetime-picker .el-input {
|
||||||
|
width: 180px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
<style>
|
||||||
|
.demo-time-picker .el-input {
|
||||||
|
width: 180px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
## TimePicker
|
## TimePicker
|
||||||
|
|
||||||
Use Time Picker for time input.
|
Use Time Picker for time input.
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
<style>
|
||||||
|
.demo-date-picker .el-input {
|
||||||
|
width: 180px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
<style>
|
||||||
|
.demo-datetime-picker .el-input {
|
||||||
|
width: 180px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
<style>
|
<style>
|
||||||
|
.demo-time-picker .el-input {
|
||||||
|
width: 180px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
.demo-box {
|
.demo-box {
|
||||||
.el-date-editor + .el-date-editor {
|
.el-date-editor + .el-date-editor {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
@component-namespace el {
|
@component-namespace el {
|
||||||
@b date-editor {
|
@b date-editor {
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
.el-picker-panel {
|
.el-picker-panel {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
min-width: 180px;
|
min-width: 180px;
|
||||||
|
|
Loading…
Reference in New Issue