diff --git a/examples/routers/color-picker.vue b/examples/routers/color-picker.vue
index 5bc4676..f0091b0 100644
--- a/examples/routers/color-picker.vue
+++ b/examples/routers/color-picker.vue
@@ -1,5 +1,13 @@
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/input/input.vue b/src/components/input/input.vue
index c05f739..f13d072 100644
--- a/src/components/input/input.vue
+++ b/src/components/input/input.vue
@@ -74,7 +74,7 @@
},
size: {
validator (value) {
- return oneOf(value, ['small', 'large']);
+ return oneOf(value, ['small', 'large', 'default']);
}
},
placeholder: {
diff --git a/src/styles/components/color-picker.less b/src/styles/components/color-picker.less
index 72cfa9a..8c0991f 100644
--- a/src/styles/components/color-picker.less
+++ b/src/styles/components/color-picker.less
@@ -1,5 +1,12 @@
@color-picker-prefix-cls: ~"@{css-prefix}color-picker";
.@{color-picker-prefix-cls} {
-
+ &-rel{
+ line-height: 0;
+ }
+ &-color{
+ width: 20px;
+ height: 100%;
+ border: 1px solid @text-color;
+ }
}
\ No newline at end of file
--
libgit2 0.21.4