Browse Source

style: 时间、日期时间选择器的宽度值增加权重

wu.jian2 1 year ago
parent
commit
9bc4d626b2

+ 2 - 2
data-room-ui/packages/BasicComponents/DateTimePicker/index.vue

@@ -448,8 +448,8 @@ export default {
 
 <style lang="scss" scoped>
 .basic-component-date-picker {
-  width: 100%;
-  height: 100%;
+  width: 100% !important;
+  height: 100% !important;
 
   // 范围时间选择器连接符
   ::v-deep .el-range-separator {

+ 2 - 2
data-room-ui/packages/BasicComponents/TimePicker/index.vue

@@ -264,8 +264,8 @@ export default {
 
 <style lang="scss" scoped>
 .basic-component-time-picker {
-  width: 100%;
-  height: 100%;
+  width: 100% !important;
+  height: 100% !important;
 
   .el-input--mini ::v-deep .el-input__inner {
     height: 100% !important;