瀏覽代碼

tiny style fix: polish color circles in block context menu (#9237)

* style: adapt bullet context menu color circles to theme highlight colors

* style: remove shadows for color circles in block context menu

* Revert "style: adapt bullet context menu color circles to theme highlight colors"

This reverts commit 6468115e94c3bda1330a44705c68eec84c929640.
Sergey Kolesnik 2 年之前
父節點
當前提交
5493479a0e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/frontend/ui.cljs

+ 2 - 2
src/main/frontend/ui.cljs

@@ -69,11 +69,11 @@
   [:div.flex.flex-row.justify-between.py-1.px-2.items-center
   [:div.flex.flex-row.justify-between.py-1.px-2.items-center
    [:div.flex.flex-row.justify-between.flex-1.mx-2.mt-2
    [:div.flex.flex-row.justify-between.flex-1.mx-2.mt-2
     (for [color block-background-colors]
     (for [color block-background-colors]
-      [:a.shadow-sm
+      [:a
        {:title (t (keyword "color" color))
        {:title (t (keyword "color" color))
         :on-click #(add-bgcolor-fn color)}
         :on-click #(add-bgcolor-fn color)}
        [:div.heading-bg {:style {:background-color (str "var(--color-" color "-500)")}}]])
        [:div.heading-bg {:style {:background-color (str "var(--color-" color "-500)")}}]])
-    [:a.shadow-sm
+    [:a
      {:title (t :remove-background)
      {:title (t :remove-background)
       :on-click rm-bgcolor-fn}
       :on-click rm-bgcolor-fn}
      [:div.heading-bg.remove "-"]]]])
      [:div.heading-bg.remove "-"]]]])