From 6ed64ed071c75901ed8848131bfefa51c5c27fce Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 24 九月 2020 23:51:51 +0800
Subject: [PATCH] 2020-09-24

---
 src/mob/colorsketch/index.scss |   27 +++++++++++++++++++--------
 1 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/src/mob/colorsketch/index.scss b/src/mob/colorsketch/index.scss
index ceca993..b616d14 100644
--- a/src/mob/colorsketch/index.scss
+++ b/src/mob/colorsketch/index.scss
@@ -1,19 +1,30 @@
 .color-sketch-block {
-  padding: 5px;
-  background: #fff;
-  border-radius: 2px;
-  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
-  display: inline-block;
-  cursor: pointer;
+  height: 25px;
+  width: 100%;
 
   .color-sketch-block-inner {
-    width: 50px;
-    height: 14px;
+    display: inline-block;
+    cursor: pointer;
     border-radius: 2px;
+    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
+    width: calc(100% - 170px);
+    height: 100%;
+    border-radius: 2px;
+  }
+  .color-sketch-value {
+    display: inline-block;
+    width: 170px;
+    padding-left: 10px;
+    height: 25px;
+    line-height: 25px;
+    vertical-align: top;
+    white-space: nowrap;
+    overflow: visible;
   }
 }
 
 .color-sketch-popover {
+  z-index: 1090!important;
   .ant-popover-inner-content {
     padding: 0;
     .sketch-picker {

--
Gitblit v1.8.0