src/mob/colorsketch/index.scss
@@ -18,6 +18,7 @@ height: 100%; } .color-sketch-value { position: relative; display: inline-block; font-size: 13px; width: 160px; @@ -27,6 +28,23 @@ vertical-align: top; white-space: nowrap; overflow: visible; .anticon-close { position: relative; right: -10px; font-size: 10px; padding: 3px; background: #eeeeee; border-radius: 50%; cursor: pointer; opacity: 0; transition: opacity 0.3s; } } } .color-sketch-block:hover { .anticon-close { opacity: 1; } }