From fdffccfc7d868a1659e52943843a77a1682ec7c5 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 18 Dec 2018 22:54:40 +0800 Subject: [PATCH] [bugfix] Field: text color (#2323) --- packages/cell/index.less | 1 + packages/field/index.less | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/cell/index.less b/packages/cell/index.less index 1ab7a8f08..6fb5dff6d 100644 --- a/packages/cell/index.less +++ b/packages/cell/index.less @@ -24,6 +24,7 @@ &__label { color: @gray-dark; font-size: 12px; + margin-top: 3px; line-height: 18px; } diff --git a/packages/field/index.less b/packages/field/index.less index a0cbbe671..934dc7d47 100644 --- a/packages/field/index.less +++ b/packages/field/index.less @@ -17,12 +17,17 @@ width: 100%; resize: none; display: block; + color: @text-color; box-sizing: border-box; background-color: transparent; + &::placeholder { + color: @gray-dark; + } + &:disabled { opacity: 1; - color: @gray-darker; + color: @gray-dark; background-color: transparent; }