diff --git a/frontend/resources/styles/main/partials/colorpicker.scss b/frontend/resources/styles/main/partials/colorpicker.scss index 3ceb850ae..2618c3fad 100644 --- a/frontend/resources/styles/main/partials/colorpicker.scss +++ b/frontend/resources/styles/main/partials/colorpicker.scss @@ -217,5 +217,19 @@ } } - +} + +.chrome-picker { + font-family: inherit !important; + + input { + margin-bottom: auto; + } + + & > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) { + width: 25px !important; + height: 25px !important; + border-radius: 20px !important; + margin: 0 !important; + } } diff --git a/frontend/src/uxbox/util/color.cljs b/frontend/src/uxbox/util/color.cljs index 60b75064a..40b5f6725 100644 --- a/frontend/src/uxbox/util/color.cljs +++ b/frontend/src/uxbox/util/color.cljs @@ -33,7 +33,7 @@ [v] (try (into [] (gcolor/hexToRgb v)) - (catch js/Object e [0 0 0]))) + (catch :default e [0 0 0]))) (defn rgb->hex [[r g b]]