Browse Source

Specify gradient stops

Ben Yorke 2 years ago
parent
commit
018835b700
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deps/shui/src/logseq/shui/list_item/v1.cljs

+ 1 - 1
deps/shui/src/logseq/shui/list_item/v1.cljs

@@ -92,7 +92,7 @@
            {:style {:opacity (if highlighted 1 0.8)}
             :class (cond-> "flex flex-col grayscale"
                      highlighted (str " !grayscale-0 !opacity-100 bg-gray-03-alpha dark:bg-gray-04-alpha")
-                     hoverable (str " transition-all duration-50 ease-in !opacity-75 hover:!opacity-100 hover:grayscale-0 hover:cursor-pointer hover:bg-gradient-to-r hover:from-gray-03-alpha hover:to-gray-01-alpha")
+                     hoverable (str " transition-all duration-50 ease-in !opacity-75 hover:!opacity-100 hover:grayscale-0 hover:cursor-pointer hover:bg-gradient-to-r hover:from-gray-03-alpha hover:to-gray-01-alpha from-0% to-100%")
                      (and hoverable rounded) (str " !rounded-lg")
                      (not compact) (str  " py-4 px-6 gap-1")
                      compact (str " py-1.5 px-3 gap-0.5")