🐛(component): 修复 input-number 内容不居中的问题

This commit is contained in:
就眠儀式 2022-07-18 11:17:38 +08:00
parent 38d46bafd4
commit f82e57c06c
3 changed files with 8 additions and 2 deletions

View File

@ -68,6 +68,7 @@
input {
text-align: center;
padding-left: 0px;
}
}

View File

@ -7,10 +7,12 @@
filter: Alpha(opacity=1);
cursor: pointer;
}
.layui-upload-btn-box {
position: relative;
overflow: hidden;
}
.layui-upload-drag,
.layui-upload-form,
.layui-upload-wrap {
@ -79,9 +81,11 @@
opacity: 0.01;
filter: Alpha(opacity=1);
}
.layui-upload-file-disabled {
cursor: not-allowed !important;
}
.layui-btn-container .layui-upload-choose {
padding-left: 0;
}
@ -96,6 +100,7 @@
display: block;
max-width: 100%;
}
.layui-upload-list-disabled {
width: auto;
height: auto;

View File

@ -4,7 +4,7 @@
::: title 基础使用
:::
::: demo
::: demo 使用 `lay-color-picker` 标签, 创建颜色选择器。
<template>
<lay-color-picker v-model="color"></lay-color-picker>
@ -29,7 +29,7 @@ export default {
::: title 预设颜色
:::
::: demo
::: demo 通过 `preset` 属性, 预设可选的颜色列表。
<template>
<lay-color-picker v-model="color" :preset="preset"></lay-color-picker>